If the readings are taken at 15min intervals, then your step should be 15min (900s), because this is the step between samples.
Generally speaking, unless you have a special case, you should set your heartbeat to be twice your step – in this case, 1800s When you update your RRDtool database, you will give RRDTool a point in time and the data to store at that point in time. DO NOT use ‘N’ (‘now’) for your point in time as you should be specifying the point in time when the data were sampled, not when you store them. The step and heartbeat apply to the data point in time, not when you happen to store them. Obviously, you need to have the sample times in your text file. If you do not have them, you may be able to deduce the time by knowing that they are 15min apart and extrapolating? Steve Steve Shipway [email protected] From: [email protected] [mailto:[email protected]] On Behalf Of Steven Sim Sent: Tuesday, 10 June 2014 3:12 a.m. To: [email protected] Subject: [rrd-users] If input is already in text format and I craft a perl script to parse the text format and update rrd database, what should the step and heartbeat be? Hello; my sensor tech staff has collated the readings onto several text files, each reading 15 minutes apart. I have crafted a Perl script to parse the text file and execute rrdtool update for each reading in the text file. In this case, what should be my step and heartbeat? The actual readings are taken 15 minutes apart, but the actual feeding into the rrdtool database are actually loops through the perl script, each update at most a second or less apart Do i still retain step=15 minutes and heartbeat=15 minutes x 2 ? Deepest Regards Steven Sim
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
