[rrd-users] Fetch the time of the first entry

Simon Hobson linux at thehobsons.co.uk
Wed Jul 2 13:16:19 CEST 2014


Alex van den Bogaerdt <alex at vandenbogaerdt.nl> wrote:

> The other option is to modify the documentation to match the source.

How about changing it to "first value in the RRA", plus a note along the lines of :
"The value returned will always be the timestamp of the last completed entry in the RRA minus the timespan covered by the RRA*. For RRAs which cover a timespan longer than the periods covered by updates, the returned value will predate the first update."

There are probably better words to express it, but they aren't flowing through my mind at the moment :(
* Is this the correct description ?



More information about the rrd-users mailing list