Normalization, and UTC based times vs. your (and my) timezone. Read more here: http://rrdtool.vandenbogaerdt.nl/
----- Original Message ----- From: "Peter Thurner" <[email protected]> To: <[email protected]> Sent: Thursday, March 20, 2014 3:49 PM Subject: [rrd-users] How are the values saved / calculated inside the RRDs when showing with fetch Hi guys, I was wondering how the data in the RRD Databases is saved. When I'm saving the value 19000, and then use rrdtool fetch to receive it, I get the following back: 946857600: 1.8958333333e+04 I was wondering how to (manually) calculate back 1.8958333333e+04 to 19000? Also I noticed that when I just save the value 19000 in all slots, it does show me 947289600: 1.9000000000e+04 but when I alternate values "around" it, they change. Are the saved values related to each other in some way? Did I overlook something in my script (attached)? Also what I don't understand is that rrdtool fetch always gives me a seconds timestamp one hour after the time I tried to commit to the RRD: last line of rrdtool fetch output in my script: 947808000: -nan blue@aptenodytes:~/test$ date -d "Jan 14 2000" +%s 947804400 blue@aptenodytes:~/test$ date --date @947804400 Fri Jan 14 00:00:00 CET 2000 # The timestamp I get from fetch: blue@aptenodytes:~/test$ date --date @947808000 Fri Jan 14 01:00:00 CET 2000 Thanks in advance, Peter -------------------------------------------------------------------------------- > _______________________________________________ > rrd-users mailing list > [email protected] > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
