Page 1 of 1

Passive checks - LastCheck vs NextCheck

Posted: Mon Apr 28, 2014 12:02 pm
by dianeghir
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

Re: Passive checks - LastCheck vs NextCheck

Posted: Mon Apr 28, 2014 12:16 pm
by tmcdonald
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.

Re: Passive checks - LastCheck vs NextCheck

Posted: Mon Apr 28, 2014 1:55 pm
by dianeghir
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

Re: Passive checks - LastCheck vs NextCheck

Posted: Mon Apr 28, 2014 2:16 pm
by slansing
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.