Nagios WEB UI says "Unable to get process status"

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
Teja
Posts: 53
Joined: Tue Jun 13, 2017 8:13 am

Nagios WEB UI says "Unable to get process status"

Post by Teja »

Hi Team,

I have installed Nagios 4.3.4 latest version in one of the Ubuntu box (16.04) with having Ndoutils . The services are running active but on Web Ui its says "Unable to get process status" I have checked if there are any errors with "/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg" there were 0 errors. Could you please assist on this,will post the error log below.

[authn_file:error] [pid 10136] (2)No such file or directory: [client 115.112.83.74:49418] AH01620: Could not open password file: /usr/local/nagios/etc/htpasswd.users, referer: http://34.201.122.77/nagios/cgi-bin/sta ... ostprops=0
[Fri Jan 05 13:59:13.440548 2018] [cgi:error] [pid 10202] [client 124.112.83.74:49684] AH02811: script not found or unable to stat: /usr/local/nagios/sbin/statusjson.cgi, referer: http://34.201.122.77/nagios/main.php
[Fri Jan 05 14:12:51.824614 2018] [cgi:error] [pid 10647] [client 66.90.236.196:3537] AH01215: (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed: /usr/local/nagios/sbin/tac.cgi, referer: http://34.201.122.77/nagios/side.php
[Fri Jan 05 14:12:51.824915 2018] [cgi:error] [pid 10647] [client 66.90.236.196:3537] End of script output before headers: tac.cgi, referer: http://34.201.122.77/nagios/side.php
[Fri Jan 05 14:12:54.223913 2018] [cgi:error] [pid 10539] [client 66.69.236.196:3538] AH01215: (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed: /usr/local/nagios/sbin/tac.cgi, referer: http://34.201.122.77/nagios/side.php
[Fri Jan 05 14:12:54.224230 2018] [cgi:error] [pid 10539] [client 66.55.236.196:3538] End of script output before headers: tac.cgi, referer: http://34.201.122.77/nagios/side.php
[Fri Jan 05 14:12:55.786270 2018] [cgi:error] [pid 10202] [client 63.90.236.196:3541] AH02811: script not found or unable to stat: /usr/local/nagios/sbin/statusjson.cgi, referer: http://34.201.122.77/nagios/main.php
[Fri Jan 05 14:15:08.294402 2018] [cgi:error] [pid 10136] [client 66.90.236.196:3565] AH02811: script not found or unable to stat: /usr/local/nagios/sbin/statusjson.cgi, referer: http://34.201.122.77/nagios/main.php
[Fri Jan 05 14:24:06.072079 2018] [cgi:error] [pid 10388] [client 66.90.236.196:3665] AH02811: script not found or unable to stat: /usr/local/nagios/sbin/statusjson.cgi, referer: http://34.201.122.77/nagios/main.php
[Fri Jan 05 14:24:07.576468 2018] [cgi:error] [pid 10388] [client 98.90.236.196:3665] AH01215: (13)Permission denied: exec of '/usr/local/nagios/sbin/tac.cgi' failed: /usr/local/nagios/sbin/tac.cgi, referer: http://34.201.122.77/nagios/side.php
[Fri Jan 05 14:24:07.576780 2018] [cgi:error] [pid 10388] [client 65.90.216.196:3665] End of script output before headers: tac.cgi, referer: http://34.201.122.77/nagios/side.php
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios WEB UI says "Unable to get process status"

Post by dwhitfield »

What's the output of the following:

Code: Select all

ls -la /usr/local/nagios/sbin/statusjson.cg
ls -la /usr/local/nagios/sbin/tac.cgi
sudo sestatus
df -i
df -h
Also, please post your nagios.cfg and /etc/sudoers and a screenshot of the error you are seeing.
Locked