[rrd-users] Re: Perl RRD graphing rounding error

Serge Maandag serge.maandag at staff.zeelandnet.nl
Sat Nov 6 01:29:56 MET 2004


> We use RRDs::graph (1.000491) with the following parameters:
> -s -1182833
> -e -42232
> 
> The problem is that for certain intervals, even though every 
> sample has 100's throughout, we get a number slightly less 
> than 100 as the average of B1.

Perhaps it has something to do with your start and end times not being N
times stepsize.
It may use half of an interval, nan in the first case and zero in the
other.

Try something like $start = int( (time() - 1182833) / 300) ) * 300
Same for $end..

Just a guess..
Serge.

-------------
Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php

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