[rrd-users] How can I fetch AVG from 60 to 60 secs?

Simon Hobson linux at thehobsons.co.uk
Tue Dec 13 19:34:38 CET 2011

hilst wrote:
>I need to take averages from 60 to 60 seconds, I was trying
>rrdtool fetch memory-used.rrd AVERAGE -s 1323794400 -e 1323798000 -r 60
>Here is the output:
>1323795620: 4.6606017097e+09
>1323795690: 4.6616072777e+09
>1323795760: 4.6641484946e+09
>1323795830: 4.6641529417e+09
>1323795900: nan
>1323795970: nan
>1323796040: nan
>The "epochs" are incremented from 70 to 70 secs, Why???

How was the file setup ? RRD fetch will not convert data, if you ask 
it for a resolution that isn't in the file then you won't get what 
you ask for.

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