Nagios map not found

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
chansl
Posts: 3
Joined: Wed Apr 18, 2012 3:52 am

Nagios map not found

Post by chansl »

I have just installed nagios core and when i click on Map, it show the error

Not Found
the requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server.
----------------------------------------------------------------------------------------------
Apache/2.2.15 (Red Hat) Server at localhost Port 80

Can anyone help me? I am using Redhat release 6.2

Thanks.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Nagios map not found

Post by agriffin »

Did you install Nagios from an RPM or from source? Does the file statusmap.cgi exist anywhere on your system?

Code: Select all

# updatedb
# locate statusmap.cgi
chansl
Posts: 3
Joined: Wed Apr 18, 2012 3:52 am

Re: Nagios map not found

Post by chansl »

Hi,

I download from source from nagios website nagios-3.3.1.tar.gz. I checked the log and found that

[Wed Apr 18 17:24:15 2012] [error] [client ::1] script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi, referer: http://localhost/nagios/side.php

which the statusmap.cgi file does not exist at the path mentioned above. If the file can exist somewhere else, where can it be?

Thanks
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios map not found

Post by mguthrie »

I'm wondering if the issue is permissions, make sure the apache user can read that file and that it's executable.
chansl
Posts: 3
Joined: Wed Apr 18, 2012 3:52 am

Re: Nagios map not found

Post by chansl »

The problem solved after i install the gd-devel and it dependencies.

Thanks.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Nagios map not found

Post by agriffin »

Glad you got it figured out!
Locked