[rrd-users] Re: suspicious interpolation

Alex van den Bogaerdt alex at ergens.op.het.net
Sat Oct 11 17:34:03 MEST 2003


On Sat, Oct 11, 2003 at 04:50:30PM +0200, Philippe Charnier wrote:

> I'm using rrdtool 1.0.45. I would like to know if the following is the
> expected behaviour.
> 
> rrdtool create a.rrd --start 999999990 --step 10 \
>    DS:f:GAUGE:30:U:U RRA:MAX:0.5:1:10
> rrdtool update a.rrd 1000000000:2

Next you are reasoning with averages.  Doesn't seem to matter,
with AVERAGE in stead of MAX the same behaviour is seen.


rrdtool create a.rrd --start 999999990 --step 10 \
    DS:f:GAUGE:30:U:U RRA:AVERAGE:0.5:1:10
rrdtool update a.rrd 1000000000:2
rrdtool update a.rrd 1000000009:2
rrdtool update a.rrd 1000000020:4

rrdtool fetch a.rrd AVERAGE --start 1000000000 --end 1000000020

> So, after dividing by the size of the interval, I would be pleased to find
> 
> 1000000000: 2.0000000000e+00
> 1000000010: 2.2000000000e+00
> 1000000020: 4.0000000000e+00
> 
> Unfortunately rrdtool take all of them into one
> 
> 1000000000: 2.0000000000e+00
> 1000000010: 3.1000000000e+00
> 1000000020: 3.1000000000e+00

I see the same using 1.0.39 and 1.1.something

It looks as if this is there for a long time.

No, this is not what I would expect.

alex

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