« Return to Thread: rrdtool bug?

rrdtool bug?

by Lihong :: Rate this Message:

Reply to Author | View in Thread

Can anyone try this and see if you get the expected result?

The data file is:
MON 27-Feb-2006 16:00:00 : 107717
MON 06-Mar-2006 16:00:00 : 123038
MON 13-Mar-2006 16:00:00 : 144376
/bin/rrdtool create active_users_wkly.rrd --start  1140480000 --step 604800 DS:active_users:GAUGE:1209600:U:U \
RRA:AVERAGE:0.5:1:54.

/bin/rrdtool update active_users_wkly.rrd 1141084800:107717
/bin/rrdtool update active_users_wkly.rrd 1141689600:123038
/bin/rrdtool update active_users_wkly.rrd 1142294400:144376

Then run rrdtool dump active_users_wkly.rrd. Do you get the following:

<!-- 2006-02-22 16:00:00 PST / 1140652800 --> <row><v> 1.0771700000e+05 </v></row>
<!-- 2006-03-01 16:00:00 PST / 1141257600 --> <row><v> 1.1209440324e+05 </v></row>
<!-- 2006-03-08 16:00:00 PST / 1141862400 --> <row><v> 1.2913453615e+05 </v></row>

If yes, I think there is a bug in rrdtool because  the dump showed the data and time stamp which are different from the data file.

Thanks!

 « Return to Thread: rrdtool bug?