[rrd-users] Re: RRA explanation

Clay Chambers claychambers at yahoo.com
Tue Jun 8 00:41:06 MEST 2004


--- Alan Craig <alanc at beastie.co.za> wrote:
>Does somebody have a really good explanation on how this works to produce some
good graphs or a link?

Have you read the online tutorials at
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/ ?
That's a wonderful place to begin.

> rrdtool create test.rrd --start N                 \
> DS:input:COUNTER:600:0:1024000         \
> DS:output:COUNTER:600:0:1024000       \
> RRA:AVERAGE:0.5:1:432

The database you created only has one rra containing 432 five-minute data
points, which is equivalent to 1.5 days worth of data.  You're not saving
anything beyond that.  In other words, you're not going to be able to create
meaningful weekly, monthly, or yearly graphs.  

Try the following for starters (with my comments omitted) for a typical RRD
with a default (five-minute) step.
RRA:AVERAGE:0.5:1:864         (# 3 days worth of five-minute data points)
RRA:AVERAGE:0.5:6:672         (# 2 weeks worth of 30-minute averages)
RRA:AVERAGE:0.5:24:360        (# 30 days worth of 2-hour averages)
RRA:AVERAGE:0.5:288:360       (# 360 days worth of daily averages)

As far as "zooming", you'll need to adjust the start time when creating your
graphs to zoom in or out.  Try "--start -86400" for a daily graph, "--start
-21600" for a four-hour graph, or "--start -2592000" for a monthly graph.

You'll still need to read the tutorials (noted above) as it seems you may not
quite grasp some of the fundamental concepts, but be patient.  It's worth your
effort to understand the basics before venturing into the more advanced stuff.


Clay


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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