[rrd-users] Re: Perl RRD graphing rounding error
James Kingston
james.kingston at gmail.com
Fri Nov 5 23:30:27 MET 2004
> James,
>
> If you have 5 values of 100 and 1 value of 0, it will average 500/6.
> This is why you get less than 100 for your AVERAGE. When you remove the
> CDEF, it doesn't add the Nan's to the calculation, so you get 100's
> only. Does that sound like what's happening?
>
That is exactly why we do the NaN->0 conversion... we want the Nans to
drag down the calculation. The problem is that our data set contains
no Nans, zeros, or anything other than 100 so we expect to receive 100
as the average.
--
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