Maps link ddoes not work

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
mregis
Posts: 12
Joined: Wed Mar 03, 2010 10:17 am

Maps link ddoes not work

Post by mregis »

When I click on the "Map" link located at the left hand of the Admin page, i get a black page. How do I get the Map feature working?

Thanks.

M
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Maps link ddoes not work

Post by mmestnik »

It's likely a browser issue. The image URL does not have an extension that would indicate it's an image. There is no extension at the end, however Firefox pulled ".php" from just before the '?'.
mregis
Posts: 12
Joined: Wed Mar 03, 2010 10:17 am

Re: Maps link ddoes not work

Post by mregis »

Thanks mmestnik for responding so quickly.

When I click on the link using Firefox i still get an error message:
"Not Found
The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server."
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Maps link does not work

Post by mmestnik »

What does your Apache log say? How about the CGI script files are they set to execute? Does the CGI user have access to the Nagios config files?
mregis
Posts: 12
Joined: Wed Mar 03, 2010 10:17 am

Re: Maps link ddoes not work

Post by mregis »

[Wed Mar 03 13:08:57 2010] [error] [client x.x.x.x] script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi, referer: http://uwtonag01/nagios/side.php


Not sure where to confirm if CGI script files are set to execute?

Yes,
CGI user has access to the Nagios config files.
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Maps link does not work

Post by mmestnik »

Make sure your browser supports PNG image files.
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Maps link ddoes not work

Post by mmestnik »

/usr/local/nagios/sbin/statusmap.cgi
I guess you can't check the file's mode if you don't have it installed. Make sure you locate this file and place it here, it may not have been built due to some missing library.
mregis
Posts: 12
Joined: Wed Mar 03, 2010 10:17 am

Re: Maps link ddoes not work

Post by mregis »

you are correct.
the "statusmap.cgi" was not present...
Where can I get that file to place in the "/usr/local/nagios/sbin/" location?

or how can i re-install it?

Thanks again..
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Maps link ddoes not work

Post by mmestnik »

Should be in your build directory or provided by your distribution. Perhaps it was not built because of a missing dependency.
Locked