Maps link ddoes not work

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Maps link ddoes not work

Postby mregis » Wed Mar 03, 2010 10:26 am

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

Re: Maps link ddoes not work

Postby mmestnik » Wed Mar 03, 2010 11:19 am

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 '?'.
mmestnik
 
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Maps link ddoes not work

Postby mregis » Wed Mar 03, 2010 11:43 am

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

Re: Maps link does not work

Postby mmestnik » Wed Mar 03, 2010 1:16 pm

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?
mmestnik
 
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Maps link ddoes not work

Postby mregis » Wed Mar 03, 2010 1:40 pm

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

Re: Maps link does not work

Postby mmestnik » Wed Mar 03, 2010 2:44 pm

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

Postby mmestnik » Wed Mar 03, 2010 4:15 pm

/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.
mmestnik
 
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Maps link ddoes not work

Postby mregis » Wed Mar 03, 2010 4:20 pm

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

Re: Maps link ddoes not work

Postby mmestnik » Sat Mar 06, 2010 6:19 pm

Should be in your build directory or provided by your distribution. Perhaps it was not built because of a missing dependency.
mmestnik
 
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 19 guests