[rrd-users] RRA:AVERAGE - How does RRDtool know which RRA to use?

tinsfci perlon at passagen.se
Wed Aug 18 21:00:50 CEST 2010


Hello,

I can´t fin out how RRDtool "knows" which RRA to get data from if you for
example has a setup  of 4 RRA:AVERAGE:s, se below, (from the RRDtool
tutorial):

Let´s say I plot a graph from "now" to -1month, does RRDtool "automatically"
use "no 3", or do i specify it somewhere?

"no 1": 600 samples of 5 minutes  (2 days and 2 hours)
"no 2": 700 samples of 30 minutes (2 days and 2 hours, plus 12.5 days)
"no 3": 775 samples of 2 hours    (above + 50 days)
"no 4": 797 samples of 1 day      (above + 732 days, rounded up to 797)

   rrdtool create myrouter.rrd         \
            DS:input:COUNTER:600:U:U   \
            DS:output:COUNTER:600:U:U  \
            RRA:AVERAGE:0.5:1:600      \
            RRA:AVERAGE:0.5:6:700      \
            RRA:AVERAGE:0.5:24:775     \
            RRA:AVERAGE:0.5:288:797    \
            RRA:MAX:0.5:1:600          \
            RRA:MAX:0.5:6:700          \
            RRA:MAX:0.5:24:775         \
            RRA:MAX:0.5:288:797
-- 
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/RRA-AVERAGE-How-does-RRDtool-know-which-RRA-to-use-tp5437473p5437473.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.



More information about the rrd-users mailing list