Hi,
Nagios Fusion has two views in which I'm particularly interested.
Open Host Problems and Open service Problems.
My problem is that both show only checks results from may of this year.
Although the "Last Update Time:" line says it is.
I have rebooted the server to no avail.
One other interesting thing I wondered about is that the service MYSQLD is stopped. Shouldn't that be running?
What other investigative options do I have?
Open host / service problems view not updating
Re: Open host / service problems view not updating
Are you talking about Nagios XI or Nagios Fusion? Where do you see "Open Host Problems and Open service Problems" in Fusion? Can you show us a screenshot of the whole page?
Run the following commands and show us the output:
Run the following commands and show us the output:
Code: Select all
tail -50 /usr/local/nagiosfusion/var/poller.log
tail -50 /var/log/httpd/error_log
getenforce
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Open host / service problems view not updating
This is about fusion.
There's not much to see in a screenie, the column last update time shows: 2014-05-09.
poller.log shows:
and the error.log a lot of:
getenforce shows
There's not much to see in a screenie, the column last update time shows: 2014-05-09.
poller.log shows:
Code: Select all
PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/local/nagiosfusion/html/includes/utils-recentalerts.inc.php on line 197
COUNT :4
NAGIOSXI ALERT FETCH xerven-rhn01
COUNT :0
NAGIOSXI ALERT FETCH weddoe-rhn01
PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/local/nagiosfusion/html/includes/utils-recentalerts.inc.php on line 197
PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/local/nagiosfusion/html/includes/utils-recentalerts.inc.php on line 197
COUNT :2
NAGIOSXI ALERT FETCH draein-rhn01
COUNT :0
NAGIOSXI ALERT FETCH inthoo-rhn01
COUNT :0
NAGIOSXI ALERT FETCH staame-rhn01
COUNT :0
NAGIOSXI ALERT FETCH sprwag-rhn01
COUNT :0
NAGIOSXI ALERT FETCH stebod-rhn01
COUNT :0
NAGIOSXI ALERT FETCH ndltil-rhn01
COUNT :0
NAGIOSXI ALERT FETCH vesmaa-rhn01
COUNT :0
NAGIOSXI ALERT FETCH wooalk-rhn01
COUNT :0
NAGIOSXI ALERT FETCH valtil-rhn01
COUNT :0
NAGIOSXI ALERT FETCH izibre-rhn01
COUNT :0
NAGIOSXI ALERT FETCH avrddd-rhn01
COUNT :0
NAGIOSXI ALERT FETCH osgarn-rhn01
PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/local/nagiosfusion/html/includes/utils-recentalerts.inc.php on line 197
PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/local/nagiosfusion/html/includes/utils-recentalerts.inc.php on line 197
COUNT :2
NAGIOSXI ALERT FETCH rikcentos-rhn01
COUNT :0
NAGIOSXI ALERT FETCH omnvee-rhn01
PHP Warning: file_put_contents(/usr/local/nagiosfusion/var/components/recentalertsfail.log): failed to open stream: Permission denied in /usr/local/nagiosfusion/html/includes/utils-recentalerts.inc.php on line 189
COUNT :0
NAGIOSXI ALERT FETCH entnij-rhn02
PHP Warning: file_put_contents(/usr/local/nagiosfusion/var/components/recentalertsfail.log): failed to open stream: Permission denied in /usr/local/nagiosfusion/html/includes/utils-recentalerts.inc.php on line 189
COUNT :0
NAGIOSXI ALERT FETCH vreddd-rhn01
COUNT :0
NAGIOSXI ALERT FETCH prodev-rhn01
PHP Warning: file_put_contents(/usr/local/nagiosfusion/var/components/recentalertsfail.log): failed to open stream: Permission denied in /usr/local/nagiosfusion/html/includes/utils-recentalerts.inc.php on line 189
COUNT :0
3 callbacks run
Loop time: 64 seconds
.DONE
Code: Select all
[Thu Dec 18 17:59:21 2014] [error] [client ip_censored] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/local/nagiosfusion/html/includes/components/nocscreen/nocscreen.inc.php on line 476, referer: http://ip_censored/nagiosfusion//includes/page-home-main.php?&=
Code: Select all
DisabledRe: Open host / service problems view not updating
Let's fix the time zone first - open the "/etc/php.ini" in a text editor, and set up the correct timezone, e.i.:
Check to see if the logs are owned by apache:nagios.
Make them "group writable":
Restart apache:
and show us what you have in the logs:
Code: Select all
date.timezone = Europe/BerlinCode: Select all
ll /usr/local/nagiosfusion/var/components/Code: Select all
chmod g+w /usr/local/nagiosfusion/var/components/*Code: Select all
service httpd restartCode: Select all
tail -50 /usr/local/nagiosfusion/var/poller.log
tail -50 /var/log/httpd/error_logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Open host / service problems view not updating
Done that.
# tail -50 /usr/local/nagiosfusion/var/poller.log
# tail -50 /var/log/httpd/error_log
# tail -50 /usr/local/nagiosfusion/var/poller.log
Code: Select all
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host 8slqsl >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service 8slqsl >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host f4f5aq >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service f4f5aq >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host i6hsvi >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service i6hsvi >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host rnmu0g >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service rnmu0g >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host 6hj0j9 >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service 6hj0j9 >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host gp3mj7 >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service gp3mj7 >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host h5idlf >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service h5idlf >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host 88p0pc >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service 88p0pc >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host nshnim >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service nshnim >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host pk8o9d >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service pk8o9d >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host 695mkj >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service 695mkj >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host pf38h8 >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service pf38h8 >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host tpk4ck >> /usr/local/nagiosfusion/var/components/noc.logCode: Select all
[Fri Dec 19 11:10:54 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:10:54 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:10:54 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:10:59 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:10:59 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:10:59 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:11:03 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:11:03 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:11:03 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:11:03 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:11:03 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:11:03 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:11:23 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933
[Fri Dec 19 11:11:23 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933
[Fri Dec 19 11:11:23 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933
[Fri Dec 19 11:11:26 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri Dec 19 11:11:26 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri Dec 19 11:11:26 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri Dec 19 11:11:26 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:11:26 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:11:26 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:13:03 2014] [notice] caught SIGTERM, shutting down
[Fri Dec 19 11:13:03 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Dec 19 11:13:03 2014] [notice] Digest: generating secret for digest authentication ...
[Fri Dec 19 11:13:03 2014] [notice] Digest: done
[Fri Dec 19 11:13:03 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
[Fri Dec 19 11:13:12 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri Dec 19 11:13:12 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri Dec 19 11:13:12 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri Dec 19 11:13:12 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:13:12 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:13:12 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:13:15 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri Dec 19 11:13:15 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri Dec 19 11:13:15 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri Dec 19 11:13:15 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:13:15 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:13:15 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:13:19 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri Dec 19 11:13:19 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri Dec 19 11:13:19 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri Dec 19 11:13:19 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:13:19 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:13:19 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:13:22 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri Dec 19 11:13:22 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri Dec 19 11:13:22 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/login.php?redirect=/nagiosfusion/index.php%3f
[Fri Dec 19 11:13:22 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:13:22 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
[Fri Dec 19 11:13:22 2014] [error] [client IP-CENSORED] PHP Notice: Undefined index: use_2014_features in /usr/local/nagiosfusion/html/includes/utilsl.inc.php on line 933, referer: http://IP-CENSORED/nagiosfusion/index.php?
Re: Open host / service problems view not updating
And after waiting for a few minutes I looked again and everything has been updated.... 