check time is not in sync with the system time

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mroter
Posts: 80
Joined: Sun Apr 29, 2012 12:43 pm

Re: check time is not in sync with the system time

Post by mroter »

No need for ntp I was told since we use the vmware tools.
Time (date) gives perfect accurate time
mroter
Posts: 80
Joined: Sun Apr 29, 2012 12:43 pm

Re: check time is not in sync with the system time

Post by mroter »

hwclock --show is ok
Tue 14 May 2013 06:20:57 PM BST -0.343409 seconds
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check time is not in sync with the system time

Post by abrist »

Try changing the zone in sysconfig to "Europe/London".
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
mroter
Posts: 80
Joined: Sun Apr 29, 2012 12:43 pm

Re: check time is not in sync with the system time

Post by mroter »

I've modified the /etc/sysconfig/clock to

Code: Select all

ZONE="Europe/London"
Now date gives
Thu May 16 07:41:06 BST 2013
And hwclock gives
Thu 16 May 2013 07:41:28 AM BST -0.946882 seconds


The nagiosxi profile show
Date/Time

PHP Timezone: Europe/London
PHP Time: Thu, 16 May 2013 07:43:40 +0100
System Time: Thu, 16 May 2013 07:43:40 +0100
BUT the service last/next check are sill one hour behind
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check time is not in sync with the system time

Post by abrist »

Dealing with the issue through ticketing system. Locking thread.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked