I have a weird situation. My passive checks are not updating on the screen. If I look at the Advanced page for the check I see
Last Check 2014-04-28 01:31:43
Next Check 2014-04-27 09:23:27
How can the Next check be scheduled for before the Last Check?
Actual time is Mon Apr 28 10:01:59 PDT 2014
What can I do to fix this?
thanks
diane
Passive checks - LastCheck vs NextCheck
Re: Passive checks - LastCheck vs NextCheck
Looks like your system time might be off. You should be able to run
grep "date.timezone" /etc/php.ini
php -r 'echo date("D M j G:i:s T Y")."\n";'
date
to get a good idea if your time settings are matching up or not.
grep "date.timezone" /etc/php.ini
php -r 'echo date("D M j G:i:s T Y")."\n";'
date
to get a good idea if your time settings are matching up or not.
Former Nagios employee
Re: Passive checks - LastCheck vs NextCheck
Time settings seem to be ok. Any other ideas?
Mon Apr 28 18:54:51 UTC 2014
[ec2-user@ip-10-178-5-101 ~]$ date
Mon Apr 28 18:54:51 UTC 2014
Mon Apr 28 18:54:51 UTC 2014
[ec2-user@ip-10-178-5-101 ~]$ date
Mon Apr 28 18:54:51 UTC 2014
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Passive checks - LastCheck vs NextCheck
Is the system time from the passive server ahead of the XI server? These are passive checks, you should not have scheduled checks running with them, they are pushed passively to Nagios based on the remote host.