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.
rlinux57
Posts: 324 Joined: Mon Dec 08, 2014 12:03 am
Post
by rlinux57 » Tue Jan 26, 2016 5:30 am
Getting below error in logs, Whenever i clicked Go button in command expansion, please find screenshot.
Moreover "usr" folder is not placed at "/usr/local/nagios/share/". Kindly help me to find out the issue ?
Code: Select all
[root@monitor ~]# tail -f /var/log/httpd/error_log
[Tue Jan 26 04:28:11 2016] [error] [client 182.180.102.10] File does not exist: /usr/local/nagios/share/usr, referer: http://IP-Address/nagios/cgi-bin/status.cgi?host=all&limit=0
[Tue Jan 26 04:28:11 2016] [error] [client 182.180.102.10] File does not exist: /usr/local/nagios/share/usr, referer: http://IP-Address/nagios/cgi-bin/status.cgi?host=all&limit=0
[Tue Jan 26 04:28:27 2016] [error] [client 182.180.102.10] File does not exist: /usr/local/nagios/share/usr, referer: http://IP-Address/nagios/cgi-bin/extinfo.cgi?type=2&host=Webs10&service=Current+Users
[Tue Jan 26 04:28:31 2016] [error] [client 182.180.102.10] File does not exist: /usr/local/nagios/share/usr, referer: http://IP-Address/nagios/cgi-bin/notifications.cgi?contact=all
Attachments
rkennedy
Posts: 6579 Joined: Mon Oct 05, 2015 11:45 am
Post
by rkennedy » Tue Jan 26, 2016 10:23 am
Please post your apache configuration for us to take a look at.
Also, what version of Nagios are you running?
Former Nagios Employee
rlinux57
Posts: 324 Joined: Mon Dec 08, 2014 12:03 am
Post
by rlinux57 » Tue Jan 26, 2016 12:40 pm
I have using nagios 4.1 version, please find httpd conf attachment.
Attachments
httpd.txt
(33.77 KiB) Downloaded 332 times
rkennedy
Posts: 6579 Joined: Mon Oct 05, 2015 11:45 am
Post
by rkennedy » Tue Jan 26, 2016 3:35 pm
I just installed core on a fresh machine, and noticed a different -
Code: Select all
#DocumentRoot "/var/www/html"
DocumentRoot "/usr/local/nagios/share/"
Do you know why the existing DocumentRoot is commented out? Can you try uncommenting it, restart httpd / nagios and try again?
Former Nagios Employee
rlinux57
Posts: 324 Joined: Mon Dec 08, 2014 12:03 am
Post
by rlinux57 » Wed Jan 27, 2016 2:24 am
Even i have uncomment that line but it won't work again getting same error when press go button.
rkennedy
Posts: 6579 Joined: Mon Oct 05, 2015 11:45 am
Post
by rkennedy » Wed Jan 27, 2016 12:14 pm
What OS are you running? Can you also post any other configuration files in your conf.d folder?
Former Nagios Employee