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

Alex van den Bogaerdt alex at vandenbogaerdt.nl
Wed Jul 2 13:48:38 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 ?

I don't know the intentions of the author. What is the actual number
returned? Is it the timestamp of the first available entry (NaN or not) or
is it that time minus the size of the interval?

This is a small but significant difference.





More information about the rrd-users mailing list