[rrd-users] FW: Re: creating the rrd

Kobiske, Rob Rob.Kobiske at uwsp.edu
Thu Jun 2 20:11:01 MEST 2005


Thanks for the help.  I think I have the RRA's figured out now.  I also
changed my Month graph to be 744 rows of 60 mins each.

So my RRAs would be as follows:

RRA:AVERAGE:0.5:1:1440
RRA:AVERAGE:0.5:60:168 
RRA:AVERAGE:0.5:60:744
RRA:AVERAGE:0.5:60:8760


1) 1440 rows of 1 min, 1440mins in day -- day graph
2) 168 rows of 1 hour, 24 hours a day, 7 days a week (27x7=168) --week
graph
3) 744 rows of 1 hour, 31 days in a month (744x24=744) -- month graph
4) 8760 rows of 1 hour, 365 days in a year (24x365=8760) -- year graph

Rob

-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch] On Behalf Of Alex van den
Bogaerdt
Sent: Thursday, June 02, 2005 3:21 AM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Re: creating the rrd

On Wed, Jun 01, 2005 at 03:58:50PM -0500, Kobiske, Rob wrote:

> rrdtool create upsinFrequency.rrd --start `date +%s` --step 60 
> DS:inFrequency1:GAUGE:120:0:1000 DS:inFrequency2:GAUGE:120:0:1000 
> DS:inFrequency3:GAUGE:120:0:1000 RRA:AVERAGE:0.5:1:1440
> RRA:AVERAGE:0.5:60:168 RRA:AVERAGE:0.5:10080:31
> RRA:AVERAGE:0.5:120960:365

> I think that will give me a daily graph using 1440 60sec samples, a
> weekly graph using 1 hour averages, a monthly graph using daily
> averages, and a yearly graph using 1 month averages.

Your step is 60, one minute. That's OK.
1st RRA: 1440 rows of one minute each: 1 day
2nd RRA: 168 rows of 60 minutes each: 7 days
3rd RRA: 31 rows of 10080 minutes each: 31 weeks, not days
4th RRA: 365 rows of 120960 minutes each: 365 times 84 days

> Is my thinking correct and, using that command, will I make what I am
> looking for?

I guess those last two need some tweaking.  If you want 31 days,
it should read "RRA:AVERAGE:0.5:1440:31" because you need 1440
times the step size (60 seconds) to get one day (24 * 60 minutes).

Do you really want one value a day and then only 31 rows of them?
This means RRDtool can only show 31 different values and the
resulting graph will seem to be very blocky.  Also this means
your graph will be showing values from one midnight UTC to the
next, something you may not want.

You now have 31 times (24 hours * 7).
My first suggestion: 31 times (24 hours).
Probably you want (31 times 24) hours: "RRA:AVERAGE:0.5:60:744"

Follow the same line of reasoning for the 4th RRA.

HTH
Alex

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/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
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list