Graph data 1 hour out since DST

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
shweeney
Posts: 1
Joined: Thu Jul 24, 2014 12:58 pm

Graph data 1 hour out since DST

Post by shweeney »

Hi - since the clocks went forward here (Ireland - change was on the 25th March) all our cacti graphs are an hour behind.

The time on the graphs is correct but the data they're displaying is from an hour ago.

The time on the (ubuntu) server is correct and the timezone in php.ini matches that on the OS:

# timedatectl
Local time: Tue 2018-04-10 10:16:07 IST
Universal time: Tue 2018-04-10 09:16:07 UTC
RTC time: Tue 2018-04-10 09:16:07
Time zone: Europe/Dublin (IST, +0100)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no

# grep timezone /etc/php/7.0/apache2/php.ini
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = 'Europe/Dublin'

apache has been restarted since the +1 change - any other ideas?
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Graph data 1 hour out since DST

Post by netniV »

Have you also done the cli's php.ini? and made sure that MySQL is in the same zone too?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest