[rrd-users] Re: Massive difference between "rrdtool graph" and"rrdtool fetch"

Serge Maandag serge.maandag at staff.zeelandnet.nl
Tue Mar 2 12:31:57 MET 2004


> I am extracting and summing up a column of values with both 
> tools (graph and fetch).  The graph sum is 100% accurate but, 
> when I fetch for the data, and sum it up (including the 
> exponents), the value is very very low.
>
> #fetch file.rrd AVERAGE -r 900 -s -604800 -e -300 | tr -s " " 
> | cut -d "
> " -f5
> 
> This will display all the rows at a 15 minute resolution. I 
> then add up all of these values and I assume this would be 
> the total, correct?

First of all, make sure you have read these guidelines:
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/manual/rrdfetch.html

It describes almost exactly what you want.

Secondly, if your DS is of the type COUNTER, make sure to multiply the
result
With the step size.

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