Summer time, Winter Time and aftermath

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Acidstorm
Posts: 4
Joined: Wed Oct 29, 2014 2:34 am

Summer time, Winter Time and aftermath

Post by Acidstorm »

Hello,

Firstly, excuse me for my bad english language, it's not my native language. I'm a frenchman.

Secondly, how is managed the summer and winter time in Cacti ? How to solve this problem ? to put the server and php timezone to Greenwich (GMT) to solve the problem ?

The server is in France (GMT +1) and I have a hole between 02:00 AM and 02:30 AM (after the schedule change, summer time to winter time).

Timezone - Operating System (OpenBSD 5.5) : Europe/Paris
Timezone - PHP 5.4 (php-5.4.ini) : date.timezone = Europe/Paris
Timezone - MySQL (@@global.time_zone) : SYSTEM
Cacti version : 0.8.8b

Our server is synchronized with our router via NTP.

Screenshot Aftermath (summer time to winter time) : see attached files
Attachments
Our serveur with Cacti
Our serveur with Cacti
screenshot_04.png (57.34 KiB) Viewed 1036 times
Our Cisco ASA
Our Cisco ASA
screenshot_03.png (42.26 KiB) Viewed 1036 times
An UPS (Uninterruptible Power Supply)
An UPS (Uninterruptible Power Supply)
screenshot_02.png (53.99 KiB) Viewed 1036 times
Our router
Our router
screenshot_01.png (77.9 KiB) Viewed 1036 times
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Summer time, Winter Time and aftermath

Post by cigamit »

You would have to use GMT to fix it, Cacti stores the data based upon PHP's Timezone. For that time zone, 2:15 am did not exist.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Summer time, Winter Time and aftermath

Post by BSOD2600 »

I thought rrdtool handles this internally http://www.vandenbogaerdt.nl/rrdtool/timezone.php
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Summer time, Winter Time and aftermath

Post by cigamit »

Ya, after more digging, it seems to go off the TZ variable of the system and does store it in UTC, but the gap is going to occur because your local time zone that it is displaying it in skipped that hour.
Acidstorm
Posts: 4
Joined: Wed Oct 29, 2014 2:34 am

Re: Summer time, Winter Time and aftermath

Post by Acidstorm »

Many thanks to all for your responses.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest