I’m likewise seeing this same issue; my observium server is located in the US Central TZ, and is both polling and receiving syslog data from devices in both US Central and US Mountain timezones. The information from the US Central devices are shown just fine; the information syslogged/eventlogged from the US Mountain timezone show up just the same as you have in your screenshot below.

 

I have not looked into the php.ini file, I’ll have a try making that change, but am not sure that will make any difference.

 

…Ron

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Aaron Smith
Sent: Tuesday, February 10, 2015 9:20 PM
To: observium@observium.org
Subject: [Observium] php time zone issue

 

Hi there,

 

I’m having an issue with the time zone settings in PHP that are causing the dates and times to show up like in the screenshot below.

 

 

After searching for a bit I found a thread that mentioned that the time zone needed to be set in the php.ini file (/etc/php5/cli/php.ini). I changed the setting and restarted apache but the date and time are still showing incorrectly in Observium. I even restarted the sever to no aval.

 

Here is a snippet of the php.ini time/date config

 

[Date]

; Defines the default timezone used by the date functions

; http://php.net/date.timezone

date.timezone = Australia/Sydney

 

; http://php.net/date.default-latitude

;date.default_latitude = 31.7667

 

; http://php.net/date.default-longitude

;date.default_longitude = 35.2333

 

; http://php.net/date.sunrise-zenith

;date.sunrise_zenith = 90.583333

 

; http://php.net/date.sunset-zenith

;date.sunset_zenith = 90.583333

 

 

Is there anything I have missed?

 

Thanks,
Aaron


--
This message has been scanned for viruses and dangerous content by
E.F.A. Project, and is believed to be clean.
Click here to report this message as spam.