[rrd-users] Average value over last ten minutes?

Simon Hobson linux at thehobsons.co.uk
Sun Jul 8 19:53:15 CEST 2012


Jack Bates wrote:

>I then try to get the average value over the last ten
>minutes with "rrdtool fetch example.rrd AVERAGE -r 600 -s -600", but
>instead of one average value, it returns eleven values, each one minute
>apart

That's correct, Fetch doesn't do any manipulations, only dumps what's 
in the file.

>Is it possible to get an average value over the last ten minutes from RRD?

You could use RRD Graph to get it and then PRINT it (not GPRINT, just PRINT).

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.



More information about the rrd-users mailing list