Google Plus

/nagios/cgi-bin/statusmap.cgi was not found on this server

Written by Mel Kham on . Posted in Frequently Asked Questions

Question : I have a problem in the configuration of the statusmap.
The error is this:
Not Found
The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server

Solution : Make a backup of your nagios directory in de /usr/local/nagios

Then verify  these packages if are inatlled :

in debian/ubuntu/mint

  • libgd
  • libgd-devel
  • libpng
  • libpng-devel
  • libjpeg
  • libjpeg-devel
  • zlib
  • zlib-devel

apt-get install …..

in Fedroa /centos/RHEL/opensuse

  • gd
  • gd-devel
  • png
  • png-devel
  • jpeg
  • jpeg-devel
  • zlib
  • zlib-devel

yum install ….

yast2 -i ….


Back to the nagios extracted directory.

#make devclean
# ./configure --with-gd-lib=/usr/lib   --with-gd-inc=/usr/include


next

#./configure --with-command-group=nagcmd
next
 #make all; make install; make install-init; make install-config; make install-commandmode; make install-webconf
  Ok  now  you  are  done
Back  to  your  nagios  page  and  check  the  the Status  map  and sure you will be  happy
 

{loadposition user9}

Related Articles By Tags:

{loadposition user1}


For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • Stuart

    Nope, didn’t work for me.

  • Mahmoud Parsian

    This worked for me very well.

    You need to make sure that you backup your nagios objects and then put them back in.

    Also, in the following command,
    ./configure –with-command-group=nagcmd

    if you have used “nagios” instead of “nagcmd”, then use “nagios” (be consistent).

    thanks.
    best,
    Mahmoud Parsian
    mparsian@yahoo.com

  • Johan

    For me this was not the solution. I still don’t have a statusmap.cgi

  • Brown

    i have this issue from long time in 3.0.1 version; after use of this tutorials. i can see again te map cgi.

    Thanks to Unixmen team

  • Anonymous

    not the solution. I still don’t have a statusmap.cgi

  • Wim

    Worked for me. Fixed /nagios/cgi-bin/statusmap.cgi error and the same taste of error i got from `Trends`. Keep up the good work :D

  • Rene Conde

    I had the same problem and i solved it what i found is a library was missing on the ubutu

    follow this instructions

    sudo -s

    audo apt-get install libgd2-xpm-dev

    once update you need to compile the code again
    go to the extracted installation files directory and run

    ./configure –with-command-group=nagcmd
    make all
    make install

    To be sure restart the server

    VOILA you will have the status map and the histogram enabled

  • Wayne Walls

    Works great; thanks for the guide!

  • nik

    work for me to..

  • James

    Great tutorial, helped me out! :lol:

  • Przemek

    it’s work. I downloaded the library of this site http://www.libgd.org/Downloads

  • Nandakumar

    Such a nice neat step by step guide…
    awesome..good work unixmen team..keep it up 8)

    Thanks a lot & god bless you all…

    -Nanda

  • pirat9

    friends
    try to install php5-zlib php5-gd

    its was working for me in Opensuse and compile again nagios (with make ……..)
    restart apache and nagios
    enjoy

  • Raymond

    Thanx! Worked great!

  • Radek

    in sles_10_sp2 this solution work perfect

  • Dan Arauz

    You saved my life! It worked perfectly. Thanks a lot

  • Dart_Veider

    Thank you!!!

  • karlggest

    don’t works for me

  • NagiosAdmin

    You rock!!! Thanks a ton…

  • http://enteryoursiteURL... Nadeem

    how can we do this in freeBSD 8.2 cause I installed Nagios but when I click on Map I get "Not Found" The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server.

  • http://enteryoursiteURL... vyncynt

    got mine working with other versions though

  • S Puspharaj

    thanks! its working for my redhat x86 machine

  • Gvpathak

    Fantastic… great job

  • http://www.adamentity.com/ Adam Stafford

    Thank goodness you came along with this post.  You would have assumed Nagios would have included this in the Quick Install Guide.

  • Daniela

    Awesome, thx for post this :D

  • Ibalmoha

    Thanks a lot. i am very happy with it :)

  • Morocco Linux

    it’s working, Thanks.

  • Morocco Linux

    it’s working, Thanks.

  • Morocco Linux

    it’s working, Thanks.

  • Morocco Linux

    it’s working, Thanks.

  • Theys_johan

    sorry but I keep having problems with installing the map structure from nagios
    can someone help me please !!

  • Steve Coleman

    Thanks for posting!

  • Sreekumar22

    thanks a lot. I ve been searching all over internet for comments on this issue and this is the most useful link I ve found.

  • Johnny Knoxcity

     Awesome! Thanks a lot

  • Christoffer Haugom

    I’m using debian wheezy (7), and I cant find anny of the dependencies you listed !
     
    libgd libgd-devel libpng libpng-devel libjpeg libjpeg-devel zlib zlib-devel
    None of them are in the apt-get repos

    • Sid

      Hi sir, if you have missing packages, you could search a other one with “aptitude search libgd’ command, and install which you think could be ok.

  • Sid

    Hey, I searching it from few hours and Unixmen give us the solution. Good site. Good work. Thanks a lot for helping and good a new year to every linux users. :)

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

SK

|

I am working on it. Stay tuned. Thanks for the comment.

adriana rizzati

|

You are right, I saw them just now and they are awesome!

SK

|

Thanks for the comment Abdullah. Stay tuned with us always.

Abdullah Musazai

|

Thank you for such a great service you always do, hope you gain more power and more energy to work more & more

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .