[rrd-users] HELP I dont understand RRA's

tony at specialistdevelopment.com tony at specialistdevelopment.com
Tue Jan 26 11:26:56 CET 2010

Hi Guys,

I have realized i am just incredibly thick, even with your help to try  
and get me to understand.

No i understand what the PDP's CDP's etc mean, but cant get my head  
around how to calculate the values..

So in a last ditch effort to "get" it here is my example with my  
workings, can you guys take a look and see im sort of on the right  

So i want to graph my network traffic. i want to read the data every  
minute so my step is 60 seconds, also wait 120 seconds before unknown.

RRA 1 - 60 PDP's, so every minute, then create 1 CDP for an hours info.
RRA 2 - 60 PDP's make 24 CDP's for a days info.
RRA 3 - 1440 PDP's make 31 CDP's for a months info.

rrdtool create network.rrd \
   --start N \
   --step 60 \
   DS:bytesIn:DERIVE:120:U:U \
   DS:bytesOut:DERIVE:120:U:U \
   RRA:AVERAGE:0.5:60:60 \
   RRA:AVERAGE:0.5:60:24 \

Or have i got my numbers totally wrong?


Quoting tony at specialistdevelopment.com:

> Hi Guys,
> Im really sorry to ask this as im probably being very stupid...Im new
> to RRD tool and think it is amazing, im trying to write a set of Perl
> scripts to monitor my traffic in and out...
> I have followed tutorials, examples etc, but to finally get my head
> around it im trying to do it on my own, but i come unstuck, when it
> comes to RRA's in the RRD creation.
> Can anyone explain in really, really simple terms what they are?
> Thanks for any replies I get.
> Tony
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

----- End forwarded message -----

More information about the rrd-users mailing list