[rrd-users] RRA:MAX not acting like I thought when "multiple updates in a single step"

Jean-Francois Patenaude jf.patenaude at bell.ca
Fri Aug 8 22:01:50 MEST 2003


cat test-rrdtool
----------------

#!/bin/sh

rrdtool create test.rrd --step 60 --start 900000000 DS:test:GAUGE:600:0:100 RRA:MAX:0.5:1:576

rrdtool update test.rrd 900000120:10

rrdtool update test.rrd 900000125:50
rrdtool update test.rrd 900000127:50
rrdtool update test.rrd 900000129:50
rrdtool update test.rrd 900000131:50

rrdtool update test.rrd 900000180:11
rrdtool update test.rrd 900000240:12
rrdtool update test.rrd 900000300:13
rrdtool update test.rrd 900000360:14

rrdtool fetch test.rrd MAX --start 900000000 --end 900000480





./test-rrdtool
--------------
                     test

 900000000: nan
 900000060: 1.0000000000e+01
 900000120: 1.0000000000e+01
 900000180: 1.8150000000e+01
 900000240: 1.2000000000e+01
 900000300: 1.3000000000e+01
 900000360: 1.4000000000e+01
 900000420: nan
 900000480: nan



Question
--------
Why don't I see 50 appear somewhere in the fetch ?   Am I missing
something ?  It looks like when multiple updates are made in a single
step there is some kind of aggregation going on.  Is it possible to have
that aggregation go by the same rule as the RRA consolidation goes ?

BTW, the same problem (err.. feature) appears when dealing with MIN
consolidation.


Thanks in advance for any help ..

Jf.

--
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