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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
