Page 1 of 1

Can't browse Map Link from Nagios Core 4.0.7

Posted: Wed Jul 23, 2014 6:39 pm
by futurist71
Once I click on Map link, I just get a broken page on the right Frame from Nagios Core.

Version 4.0.7.

What could I do?

Re: Can't browse Map Link from Nagios Core 4.0.7

Posted: Wed Jul 23, 2014 10:18 pm
by Box293
What is being reported in the httpd error log when you try and access the link?

Code: Select all

tail -f /var/log/httpd/error_log

Re: Can't browse Map Link from Nagios Core 4.0.7

Posted: Thu Jul 24, 2014 6:04 pm
by futurist71
When clicking on Map

This is what the log shows:

[Fri Jul 25 01:02:22 2014] [error] [client 192.168.1.254] script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi, referer: http://X.X.X.X/nagios/side.php

Re: Can't browse Map Link from Nagios Core 4.0.7

Posted: Thu Jul 24, 2014 10:18 pm
by Box293
Does the file exist on the server?

Code: Select all

ls -al /usr/local/nagios/sbin/statusmap.cgi
-rwxrwxr-x. 1 nagios nagios 251368 Jun  9 19:22 /usr/local/nagios/sbin/statusmap.cgi
Does this link help?

http://support.nagios.com/knowledgebase ... wdesc=true

Re: Can't browse Map Link from Nagios Core 4.0.7

Posted: Tue Jul 29, 2014 5:14 am
by futurist71
When doing this make devclean do I have to save my Nagios configuration in order to avoid loosing my conf's files?

Regards.

Re: Can't browse Map Link from Nagios Core 4.0.7

Posted: Tue Jul 29, 2014 9:50 am
by emislivec
The 'make devclean' removes temporary files from the source directory. It does not change your configuration in /usr/local/nagios/etc/

You don't need to run it again, but the only make target that changes existing configuration is 'make install-config'. This makes a backup of existing files in /usr/local/nagios/etc/ before overwriting them.