> Simon;
>
> Something is seriously wrong and I don't know what it is.
>
> My Perl script parses the data file just fine.
>
> It plots just fine.
>
> The legends are correct
>
> The dates are correct.
>
> BUT when I use rrdtool first <rrd database> in an attempt to get the time
> of the first entry, I get a Unix time stamp which is one entire month
> EARLIER than the first entry in the file.

As already explained, "rrdtool first" gives you the first available slot.

Maybe you want to look at the data provided by the VDEF function "FIRST".
"

    Return the last/first non-nan or infinite value for the selected data
stream, including its timestamp.

    Example: VDEF:first=mydata,FIRST"

If you "rrdtool graph" without actually using any graphing elements, and
the PRINT (not GPRINT) this value's time component, you can use it in a
script.

HTH
Alex


_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to