[rrd-users] Re: How does rrd now which AVERAGE to take?
sh at abovenet.de
Sun Sep 8 21:01:11 MEST 2002
This depends on the time you choose for which the graph should be created.
To me, it makes sense, to create and feed the data-sources (in your example
AVERAGES) depending on the graphs that you would want to create.
For example :
You want to have a graph for the last twelve hours --> you should keep at least
enough 5 minute samples (144+) to graph this one.
You want to have a graph for the last 7 days --> you should maybe average every
30 minutes (6 samples) and keep enough 30 minute averages (336+) to graph this
And so on ...
To keep it simple, analyze what you want to graph, and have your datasources
available for doing that. Easy to see, that if you just have an RRA for one day,
you can't take this for a graph that's for example 4 days long.
Jochen Metzger wrote:
> Hi folks,
> I've been reading the rrdtutorial and looking through the docs, but still I
> have got a question
> In the example (with km's) there are to AVERAGE's when creating the rrd, how
> rrd now when creating the graph which one to
> I'm stuck with this, and I didn't find the answer in the tutorial nor the
> By the way, where do I find the faq to rrd?
> I mean this sample below
> Example from the tutorial
> Lets take the sample from the tutorial:
> rrdtool create test.rrd \
> --start 920804400 \
> DS:speed:COUNTER:600:U:U \
> RRA:AVERAGE:0.5:1:24 \
> and then create the graph
> (let's assume the data is already fed...)
> rrdtool graph speed.gif \
> --start 920804400 --end 920808000 \
> DEF:myspeed=test.rrd:speed:AVERAGE \
> 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
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users