Warning in logs about a "system time change"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
optionstechnology
Posts: 234
Joined: Thu Nov 17, 2016 11:26 am

Warning in logs about a "system time change"

Post by optionstechnology »

Hi,

Nagios stopped working for us last night for around 7 hours (i.e. checks not being executed etc.) and the only thing I can see in the logs before it stopped is below:
[1578549619] Warning: A system time change of 3840 seconds (0d 1h 4m 0s forwards in time) has been detected. Compensating...

We monitor each Nagios instance from a separate instance located in a different DC. We have checks for Nagios XI Daemons, Nagios services etc yet we didn't get any alerts. Any idea why we didn't get any alert, why this happened and how we can prevent it in future?

The CPU usage was relatively high (CPU is usually quite high on this instance) before the crash but I've never seen this happen before, especially without notifying us that monitoring engine has stopped etc.

Thanks
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Warning in logs about a "system time change"

Post by mbellerue »

So the system time leaped forward an hour, and the Nagios processes crashed? This may be a hard one to troubleshoot after the fact. Can you send in a system profile of the Nagios instance that was monitoring the crashed Nagios instance? I can probably spot why the working instance didn't alert. It would also be good to get a profile from the crashed Nagios instance as well.

As far as the crashed instance, what was the remediation process? Did you just restart the whole Nagios server, or did you just start the Nagios service? If it was just starting the Nagios service, did you make note of their state prior to starting them? I'm wondering if the Nagios service was just in some kind of hung state where it looked like it was still operational, but it actually wasn't.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked