[rrd-users] Re: Getting an average...

Serge Maandag serge.maandag at staff.zeelandnet.nl
Fri Mar 4 10:57:30 MET 2005


> I'm trying to get a single value per DS from my RRD database 
> which is the
> average of the values for a specified time..
> 
> Is it possible just to get the values 5 and 25 from the RRD 
> or do I have to
> parse all the values with some home grown code to get this?

Use DEFS of type AVERAGE
and add a PRINT statement for each DEF.

Then do rrdtool graph.

That will print your averages to stdout.

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