Page 1 of 1

Maps link ddoes not work

Posted: Wed Mar 03, 2010 10:26 am
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

Re: Maps link ddoes not work

Posted: Wed Mar 03, 2010 11:19 am
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 '?'.

Re: Maps link ddoes not work

Posted: Wed Mar 03, 2010 11:43 am
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."

Re: Maps link does not work

Posted: Wed Mar 03, 2010 1:16 pm
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?

Re: Maps link ddoes not work

Posted: Wed Mar 03, 2010 1:40 pm
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.

Re: Maps link does not work

Posted: Wed Mar 03, 2010 2:44 pm
by mmestnik
Make sure your browser supports PNG image files.

Re: Maps link ddoes not work

Posted: Wed Mar 03, 2010 4:15 pm
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.

Re: Maps link ddoes not work

Posted: Wed Mar 03, 2010 4:20 pm
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..

Re: Maps link ddoes not work

Posted: Sat Mar 06, 2010 6:19 pm
by mmestnik
Should be in your build directory or provided by your distribution. Perhaps it was not built because of a missing dependency.