Handling of daylight savings

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
Rune Nilssen

Handling of daylight savings

Post by Rune Nilssen »

If cacti could cope with daylight savings that would be nice, not a very important feature as it only happens twice a year.

But still, for us living in Norway and other countries affected whenever we go from summertime to wintertime we turn the clock back a full hour leaving us with having 0200 to 0300 two times in a row, and same going from winter to summer we suddenly skip a full hour ahead leaving a gap in the graphs.

I've seen people using mrtg having solved this issue, although I have no idea exactly how they did that...


Best regards,
Rune Nilssen
www.directconnect.no
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

If you server time changes, then you cacti time changes. Simple as that.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
guerra6880
Posts: 33
Joined: Mon Apr 19, 2004 7:47 am

Re: Handling of daylight savings

Post by guerra6880 »

Rune Nilssen wrote:If cacti could cope with daylight savings that would be nice, not a very important feature as it only happens twice a year.

I've seen people using mrtg having solved this issue, although I have no idea exactly how they did that...
This was problem for us in the US as well, so we just set that one server's time zone to be GMT so that it was no longer affected by the DST changes
User avatar
Instigater
Cacti User
Posts: 141
Joined: Mon Dec 13, 2004 5:14 pm
Location: Jurmala, Latvia

Post by Instigater »

Daylight saving time change in action

Image
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Yea, I was also testing a new rrdupdate on demand plugin for cacti over the weekend and started thinking about this. In the fall you loose a real hour of work, in the spring, it just looks that way....

Can somebody post to Tobi's forum and see what the recommendation is? I am thinking that GMT might be the answer...

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
Instigater
Cacti User
Posts: 141
Joined: Mon Dec 13, 2004 5:14 pm
Location: Jurmala, Latvia

Post by Instigater »

Graph is from this weekend, we are gaining one hour but rrdtool cannot handle one more hour of data in his RRD files so graph shows empty hour.

Just my 2 cents.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest