[rrd-users] AVERAGE and MAX

vitoannecca at inwind.it vitoannecca at inwind.it
Mon Nov 19 17:07:44 MET 2001


Hi!Buonasera!
Creating a file.rrd using:
rrdtool create file.rrd --step 5        
            DS:input:COUNTER:600:U:U   \
            DS:output:COUNTER:600:U:U  \
            RRA:AVERAGE:0.5:1:720      \
            RRA:AVERAGE:0.5:5:864      \
            RRA:AVERAGE:0.5:24:900     \
            RRA:MAX:0.5:1:720          \
            RRA:MAX:0.5:5:700          \
            RRA:MAX:0.5:24:900         \
and creating .gif files using:
rrdtool graph fileaverage.gif --start $t0 --end $tf\
            ....
            DEF:...=file.rrd:...:AVERAGE \
            DEF:...=file.rrd:...:AVERAGE \
            .....
rrdtool graph filemax.gif --start $t0 --end $tf\
            ....
            DEF:...=file.rrd:...:MAX\
            DEF:...=file.rrd:...:MAX \
            .....

I'm not sure what I really see on the graph, I mean that if I compare the two graphs I'm not sure the first one is retrieved by averaging values in the second one.
Another problem is this one:
I'd like to know if I misunderstood the maening of RRAs:
I think the average is made over  "1" sample every period of 5 seconds for the last hour,every 25 seconds for the last 5 hour  every 2 minutes for the last day.
I think the max value concerns 1 sample every 5 seconds for the last hour,every 25 seconds for the last 5 hour and so on.
Help me understanding where is my mistake.
Regards 
Vito Annecca 


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