Timing issues after upgrade 2014R1.3
Timing issues after upgrade 2014R1.3
I am running Nagios 2014R1.3 on with the following :
suse linux
64 bit
VM image
I had a recent timing issue that occured after we upgraded our vCenter; it seemed to have been resolved by removing what I believe was retention data... as noted in the last post that I added to this board (refer title: Timing off after vCenter upgrade, Wed Jun 18, 2014 10:03 am)
We upgraded Nagios to 2014R1.3, as stated above & it seems to have created a similar problem. Attached is a screenshot of the timing - & please take note the network time in the bottom right corner of pc. It seems to be a few hours off along with minutes off, as well.
suse linux
64 bit
VM image
I had a recent timing issue that occured after we upgraded our vCenter; it seemed to have been resolved by removing what I believe was retention data... as noted in the last post that I added to this board (refer title: Timing off after vCenter upgrade, Wed Jun 18, 2014 10:03 am)
We upgraded Nagios to 2014R1.3, as stated above & it seems to have created a similar problem. Attached is a screenshot of the timing - & please take note the network time in the bottom right corner of pc. It seems to be a few hours off along with minutes off, as well.
You do not have the required permissions to view the files attached to this post.
mvp
Re: Timing issues after upgrade 2014R1.3
Let's make sure your time settings on the nagios server are still sane:
Code: Select all
grep "date.timezone" /etc/php.ini
ls -l /etc/localtime
php -r 'echo date("D M j G:i:s T Y")."\n";'
date
ntpdate
ntpstat
Former Nagios employee
Re: Timing issues after upgrade 2014R1.3
Below is the requested output:
[root@nagoisxi ~]# grep "date.timezone" /etc/php.ini
; http://www.php.net/manual/en/datetime.c ... e.timezone
date.timezone = America/New_York
[root@nagoisxi ~]# ls -l /etc/localtime
-rw-r--r-- 1 root root 118 Aug 7 19:28 /etc/localtime
[root@nagoisxi ~]# php -r 'echo date("D M j G:i:s T Y")."\n";'
Wed Aug 13 8:21:59 EDT 2014
[root@nagoisxi ~]# date
Wed Aug 13 12:22:18 UTC 2014
[root@nagoisxi ~]# ntpdate
13 Aug 12:22:56 ntpdate[27996]: no servers can be used, exiting
[root@nagoisxi ~]# ntpstat
Unable to talk to NTP daemon. Is it running?
[root@nagoisxi ~]# grep "date.timezone" /etc/php.ini
; http://www.php.net/manual/en/datetime.c ... e.timezone
date.timezone = America/New_York
[root@nagoisxi ~]# ls -l /etc/localtime
-rw-r--r-- 1 root root 118 Aug 7 19:28 /etc/localtime
[root@nagoisxi ~]# php -r 'echo date("D M j G:i:s T Y")."\n";'
Wed Aug 13 8:21:59 EDT 2014
[root@nagoisxi ~]# date
Wed Aug 13 12:22:18 UTC 2014
[root@nagoisxi ~]# ntpdate
13 Aug 12:22:56 ntpdate[27996]: no servers can be used, exiting
[root@nagoisxi ~]# ntpstat
Unable to talk to NTP daemon. Is it running?
mvp
Re: Timing issues after upgrade 2014R1.3
Looks like your system time and PHP do not agree. Assuming you truly are in the Eastern time zone, you will need to adjust the system time. Using NTP is pretty painless:
http://www.cyberciti.biz/faq/howto-inst ... ver-clock/
http://www.cyberciti.biz/faq/howto-inst ... ver-clock/
Former Nagios employee
Re: Timing issues after upgrade 2014R1.3
this is what came back after the synchronization part:
[root@nagoisxi ~]# ntpdate pool.ntp.org
13 Aug 17:44:44 ntpdate[6699]: no server suitable for synchronization found
[root@nagoisxi ~]# ntpdate pool.ntp.org
13 Aug 17:44:44 ntpdate[6699]: no server suitable for synchronization found
mvp
Re: Timing issues after upgrade 2014R1.3
Does this server have access to the internet/ntp's time servers?
Code: Select all
ping pool.ntp.orgFormer 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.
"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.
Re: Timing issues after upgrade 2014R1.3
output:
64 bytes from us2.gombadi.com (162.210.196.6): icmp_seq=95 ttl=53 time=12.7 ms
64 bytes from us2.gombadi.com (162.210.196.6): icmp_seq=95 ttl=53 time=12.7 ms
mvp
Re: Timing issues after upgrade 2014R1.3
Odd. Try to sync again:
Otherwise you will have to set the date by hand:
http://www.cyberciti.biz/faq/howto-set- ... nd-prompt/
Additionally, we have a doc covering datetime/time/zone issue with XI:
http://assets.nagios.com/downloads/nagi ... m_Time.pdf
After you fix the date, remember to restart mysql so that it updates its date time:
Code: Select all
ntpdate pool.ntp.orghttp://www.cyberciti.biz/faq/howto-set- ... nd-prompt/
Additionally, we have a doc covering datetime/time/zone issue with XI:
http://assets.nagios.com/downloads/nagi ... m_Time.pdf
After you fix the date, remember to restart mysql so that it updates its date time:
Code: Select all
service mysqld restartFormer 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.
"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.
Re: Timing issues after upgrade 2014R1.3
It's still out of sync with the network. Network time was 7:33. This was the output:
[root@nagoisxi ~]# ntpdate pool.ntp.org
14 Aug 11:27:31 ntpdate[6246]: step time server 50.7.68.4 offset 7.393775 sec
I had assistance with setting the time on this server & will need to revisit exactly what was done.
[root@nagoisxi ~]# ntpdate pool.ntp.org
14 Aug 11:27:31 ntpdate[6246]: step time server 50.7.68.4 offset 7.393775 sec
I had assistance with setting the time on this server & will need to revisit exactly what was done.
mvp