[rrd-users] RRDTOOL Good with step 300, Bad with step 600

Simon Hobson linux at thehobsons.co.uk
Fri Mar 11 22:38:04 CET 2011


xajepa wrote:

>If I chose a step 600 (not equal to 300), it is bad :
>Bad Code :
>rrdtool create  ${FICRRD}.rrd --step 600 --start 978303900
>DS:b600:GAUGE:600:0:U \
>           RRA:AVERAGE:0:1:3
>  rrdtool update  ${FICRRD}.rrd \
>           978304500:2 \
>           978305100:1 \
>           978305700:4

978304500 is not an integer multiple of 600 - therefore your data it 
normalised into buckets that start/end on times that are.

http://www.vandenbogaerdt.nl/rrdtool/
See "Rates, normalizing and consolidating"

-- 
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