Oh. Ha... My googlefu resulted in my running ‘sudo dpkg-reconfigure tzdata’. That sucker was set to London. Changed it and now all is good.
Thanks again =)
-- Henrik Cednert cto | compositor
Filmlance International | www.filmlance.se mobile [ + 46 (0)704 71 89 54 ] skype [ cednert ]
From: observium observium-bounces@observium.org on behalf of Henrik Cednert henrik.cednert@filmlance.se Reply-To: Observium Network Observation System observium@observium.org Date: Tuesday, 30 August 2016 at 07:24 To: Observium Network Observation System observium@observium.org Subject: Re: [Observium] Time on X-axis of graphs is 1 hour off.
Thanks Adam. =) With that as a guide I manage to conclude that the culprit is MySQL. Php.ini is properly configured but ‘select now();’ in MySQL is one hour off (-1). Will google it a bit more and see if I can figure out how to properly change it without killing something while doing it. =)
-- Henrik Cednert cto | compositor
Filmlance International | www.filmlance.se mobile [ + 46 (0)704 71 89 54 ] skype [ cednert ]
From: observium observium-bounces@observium.org on behalf of Adam Armstrong adama@memetic.org Reply-To: Observium Network Observation System observium@observium.org Date: Tuesday, 30 August 2016 at 05:50 To: "observium@observium.org" observium@observium.org Subject: Re: [Observium] Time on X-axis of graphs is 1 hour off.
Hi,
Time on rrdtool generated graphs is defined by the server time. We don't mess around with timezones or anything at all, so rely on PHP, MySQL and the server to all have matching (and useful) timezones.
adam.
On 28/08/2016 03:57:44, Henrik Cednert (Filmlance) henrik.cednert@filmlance.se wrote: Hello
What setting have I missed when my time on the X-axis on the graphs is one hour off (-1).
Time of alerts are okay. So only the graph that shows -1 hour. ‘date’ on the server shows proper date and time.
Cheers
-- Henrik Cednert cto | compositor
Filmlance International | www.filmlance.se mobile [ + 46 (0)704 71 89 54 ] skype [ cednert ]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium