Hi!
My system time is updated and OK
/etc/localtime -> /usr/share/zoneinfo/America/Santiago
#date output
Tue May 15 16:02:53 -04 2018
while in /var/log/messages
May 15 17:03:09 callme-crt-archive1 nagios: PASSIVE SERVICE CHECK: vnode2-concert-site;SMG1-TimingLogger;0;OK. SMG1 <--> 52254 TimingLogger messages at 16:02
As you can see 1 hour difference between date output and Nagios lines in system log
How can I fix it?
Sorry, forgot to mention - Nagios Core 3.5.1
thank you,
Vassiliy
nagios timestamp is not right in /var/log/messages
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: nagios timestamp is not right in /var/log/messages
Hello, @vvz. What's the timezone in your php.ini file?
Have you considered installing the NTP on your server?
Code: Select all
cat /etc/php.ini |grep date.timezone
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: nagios timestamp is not right in /var/log/messages
ntpd is running
looks like php.ini is problem date.timezone = empty
Thank you for your help
we can close the thread
looks like php.ini is problem date.timezone = empty
Thank you for your help
we can close the thread
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: nagios timestamp is not right in /var/log/messages
[use]vvz[/user], Sounds good. Closing the thread.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.