[rrd-users] Timestamps and last_ds values
Steve Rogers
steve.rogers at icl.net
Mon Nov 5 14:05:22 MET 2001
Hi,
We have just started using rrdtool over the past couple of months. Currently
using rrdtool-1.0.33.
When creating a new rrd with a step of 600 (10 mins) the timestamps are
every 10 minutes, but at 10, 20, 30 etc past the hour, even though the job
that adds data into the rrd are run at 12, 22, 32 etc. Rrd updates values at
the nearest timstamp, but when doing a fetch I often see two timestamps with
NaN values. Is this normal?
rrd fetch
rrdtool fetch test.rrd AVERAGE -s now-600
ds0 ds1
1004964000: 1.1365000000e+01 2.0486666667e+01
1004964600: 1.1876666667e+01 2.3506666667e+01
1004965200: NaN NaN
rrdtool fetch test.rrd AVERAGE -s now-600
ds0 ds1
1004964600: 1.1876666667e+01 2.3506666667e+01
1004965200: NaN NaN
1004965800: NaN NaN
The only explaination of this is that I'm doing a fetch before the actual
update has occured, but because data is collected after the timestamp, there
are two timestamps with NaN values reported by fetch??
Also, when using GAUGE as the ds type, last_ds always contains UNKN. Is this
correct?
Thanks in advance,
Steve
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Steve Rogers e: steve.rogers at icl.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list