Timing issues after upgrade 2014R1.3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
mikew
Posts: 243
Joined: Sun Feb 05, 2012 7:05 pm

Re: Timing issues after upgrade 2014R1.3

Post by mikew »

So I looked at this issue and found two problems that others may have to deal with.

Problem #1: /etc/sysconfig/clock was set to Zone="UTC"
Problems #2: /etc/localtime was some wierd version of UTC

I have no idea how this got in there or if it was a mutant from space (happens you know) , but it was some form of UTC.

Solution:
We changed the /etc/sysconfig/clock to America?New_York and copied the /usr/share/zoneinfo/America/New_York over the old /etc/localtime.

We shut down Nagios and removed the /usr/local/nagios/var/retention.dat and also restarted httpd, mysqld, postgresql and nagios.

Presto...all is working fine. I guess if you are having problems with this issue first go to Admin/System Profile to see if your Date/Time is exactly the same with the system and the PHP, if not you are likely to have problems. So you can close this.
Mike Weber

Nagios Training/Consulting
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Timing issues after upgrade 2014R1.3

Post by sreinhardt »

Awesome! thanks for noting what you changed, although you are usually great about that!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked