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
Summer time, Winter Time and aftermath
Moderators: Developers, Moderators
Summer time, Winter Time and aftermath
- Attachments
-
- Our serveur with Cacti
- screenshot_04.png (57.34 KiB) Viewed 1037 times
-
- Our Cisco ASA
- screenshot_03.png (42.26 KiB) Viewed 1037 times
-
- An UPS (Uninterruptible Power Supply)
- screenshot_02.png (53.99 KiB) Viewed 1037 times
-
- Our router
- screenshot_01.png (77.9 KiB) Viewed 1037 times
Re: Summer time, Winter Time and aftermath
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.
Re: Summer time, Winter Time and aftermath
I thought rrdtool handles this internally http://www.vandenbogaerdt.nl/rrdtool/timezone.php
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: Summer time, Winter Time and aftermath
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.
Re: Summer time, Winter Time and aftermath
Many thanks to all for your responses.
Who is online
Users browsing this forum: No registered users and 1 guest