[rrd-users] Re: Multiple RRA and graph question

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Fri Jul 13 12:36:35 MEST 2001


Ruben Merz wrote:

>  rrdtool create test.rrd             \
>             --start 920804400          \
>             DS:speed:COUNTER:600:U:U   \
>             RRA:AVERAGE:0.5:1:24       \
>             RRA:AVERAGE:0.5:6:10

One RRA is 24 rows, 1 PDP per CDP (with a default of 300 seconds per PDP).
The lenght is thus 24*300 seconds == 7200 seconds.
The other RRA is 10 rows, 6 PDPs per CDP, 60*300 seconds == 18000 seconds.

>  rrdtool graph speed.gif                                 \
>          --start 920804400 --end 920808000               \
>          DEF:myspeed=test.rrd:speed:AVERAGE              \
>          LINE2:myspeed#FF0000

> Which RRA is used??? Because both RRA are defined with AVERAGE. Could
> someone explain this to me?

This one is asking for 920808000-920804400 == 3600 seconds.  Assuming
updates were not made after 920804400 + 300*24 = 920811600, the data
will be available in the 1st RRA.

HTH,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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