[rrd-users] can't sanity-check rrdtool with sample data ...please help

Erik de Mare erik at oezie.org
Wed Jun 27 09:10:33 CEST 2007


Hi,

RRDtool uses when updating a timestamp, I think calculated the following way:
<timestamp> - <timastamp> % <stepsize>

when you update you are inserting data at each day at 8:00.
try updateing it at 0:00 (what rrdtool fetch prints, 1141257600 = Thu, 02 Mar 2006 00:00:00 GMT)

rrdtool update hits.rrd 1141257600:1 1141344000:10
 1141430400:10 1141516800:12 1141603200:12
 1141689600:12

rrdtool fetch hits.rrd MAX --start 1141200000 --end 1141718400

On Tue, 26 Jun 2007 19:47:32 -0700 (PDT), Gore Jarold <gore_jarold at yahoo.com> wrote:
> 

> rrdtool update hits.rrd 1141286400:1 1141372800:10
> 1141459200:10 1141545600:12 1141632000:12
> 1141718400:12
> 
> So now look at the output of:
> 
> rrdtool fetch hits.rrd MAX --start 1141200000 --end
> 1141718400
> 
> 1141257600: 1.0000000000e+00
> 1141344000: 7.0000000000e+00
> 1141430400: 1.0000000000e+01
> 1141516800: 1.1333333333e+01
> 1141603200: 1.2000000000e+01
> 1141689600: 1.2000000000e+01
> 

> 
> 1, 10, 10, 12, 12, 12
> 
> and 'fetch' output:
> 
> 1, 7, 10, 11.3, 12, 12
> 
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users



More information about the rrd-users mailing list