System Status and Monitoring Engine Status Invalid
Posted: Fri Apr 03, 2015 10:32 am
If the core Nagios process is not running how can these status lights be green?
Something I noticed recently was that the System status across the top of the page and the System Status and Monitoring Engine status are reporting invalid information. Initally I thought this was not updating because Nagios was crashed. Then I saw /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php still running
/bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1
In /usr/local/nagiosxi/var/sysstat.log I see logs which state Nagios is down but the XI interface shows a healthy monitoring engine. I believe these pages get their info from this sysstat.php script. Looking at the log file /usr/local/nagiosxi/var/sysstat.log states tha Nagios is not running but in the pictures it shows green.
The XI interface shows


Something I noticed recently was that the System status across the top of the page and the System Status and Monitoring Engine status are reporting invalid information. Initally I thought this was not updating because Nagios was crashed. Then I saw /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php still running
/bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1
In /usr/local/nagiosxi/var/sysstat.log I see logs which state Nagios is down but the XI interface shows a healthy monitoring engine. I believe these pages get their info from this sysstat.php script. Looking at the log file /usr/local/nagiosxi/var/sysstat.log states tha Nagios is not running but in the pictures it shows green.
Code: Select all
DB BACKEND:
Array
(
[last_checkin] => 2015-04-02 20:09:23
[bytes_processed] => 33339486
[entries_processed] => 46796
[connect_time] => 2015-04-02 17:21:14
[disconnect_time] => 0000-00-00 00:00:00
)
CMDLINE=/etc/init.d/nagios status
nagios is not running
OUTPUT=nagios is not running
RETURNCODE=0
The XI interface shows



