Passive checks - LastCheck vs NextCheck

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dianeghir
Posts: 20
Joined: Wed Nov 13, 2013 7:18 pm

Passive checks - LastCheck vs NextCheck

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Passive checks - LastCheck vs NextCheck

Post 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.
Former Nagios employee
dianeghir
Posts: 20
Joined: Wed Nov 13, 2013 7:18 pm

Re: Passive checks - LastCheck vs NextCheck

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Passive checks - LastCheck vs NextCheck

Post 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.
Locked