Timezones
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Timezones
Lets verify that that is actually set properly, please run the following commands and share the output, thanks!:
Edit: Apologies, I reversed date and time in the above command, it has been corrected.
Code: Select all
date
hwclock
cat /etc/php.ini | grep 'date.time'Re: Timezones
[root@nagios ~]# date
Thu Oct 30 15:19:24 UTC 2014
[root@nagios ~]# hwclock
Thu 30 Oct 2014 03:19:31 PM UTC -0.656628 seconds
[root@nagios ~]# cat /etc/php.ini | grep 'time.date'
[root@nagios ~]#
The last command did not have any output
Thu Oct 30 15:19:24 UTC 2014
[root@nagios ~]# hwclock
Thu 30 Oct 2014 03:19:31 PM UTC -0.656628 seconds
[root@nagios ~]# cat /etc/php.ini | grep 'time.date'
[root@nagios ~]#
The last command did not have any output
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Timezones
Try:
Code: Select all
cat /etc/php.ini | grep 'date.timezone'-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Timezones
Thanks Snap-on, I've also corrected the initial post. Let us know what it comes up with Adam, thanks!
Re: Timezones
No problem
[root@nagios ~]# cat /etc/php.ini | grep 'date.timezone'
; http://www.php.net/manual/en/datetime.c ... e.timezone
date.timezone = US/Eastern
[root@nagios ~]# cat /etc/php.ini | grep 'date.timezone'
; http://www.php.net/manual/en/datetime.c ... e.timezone
date.timezone = US/Eastern
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Timezones
Looks like the times differ, please take a walk through of this document, and that should get this corrected:
http://assets.nagios.com/downloads/nagi ... m_Time.pdf
Also, check the system time of the workstation you are on, that can effect some browser display elements.
http://assets.nagios.com/downloads/nagi ... m_Time.pdf
Also, check the system time of the workstation you are on, that can effect some browser display elements.
Re: Timezones
Sorry for the delay. I followed the guide and the time for everything is correct now. Thanks!