On Fri, Apr 22, 2005 at 03:52:38PM +1000, Martin Rheumer wrote: > > Peeps, > > I have a pretty simple rrd files that stores values I collect in a database > every 15 minutes. > > ie. > 1. Values get dumped into csv files with 15 minute increments > 2. I import them into a Mysql Database to run some queries on it > 3. Dumps out a RRD file from perl. > 4. I make a graph of the last days values. > > I now want to make it a little like mrtg with a weekly avg, monthly > avg and yearlt avg graphs.. > > Can someone suggest some better rra options here ? > > my @options = ("-b", $START, "-s", $STEP, > "DS:a:GAUGE:1800:U:U", > "DS:b:GAUGE:1800:U:U", > "RRA:AVERAGE:0.5:1:999", > "RRA:MIN:0.5:1:999", > "RRA:MAX:0.5:1:999"); > You need more RRAs! Right now you only store 999*$STEP seconds of data (why not 1000, btw? :) so if $STEP = e.g. 30, that's enough for a graph of the last 8 hours only. Create additional RRAs, e.g. RRA:AVERAGE:0.5:12:1000 RRA:MIN:0.5:12:1000 RRA:MAX:0.5:12:1000 and RRA:AVERAGE:0.5:100:1000 RRA:MIN:0.5:100:1000 RRA:MAX:0.5:100:1000 (I think you get the idea :) bye, -- +------------------------------------------------------------------* .-. | Martin Schuster Microsoft is not the answer /v\ | www.tabr.org Microsoft is the question // \\ | ICQ# 20511117 "Linux!" is the answer /( )\ +--------------------------------------------------------------* ^^-^^ -- Attached file removed by Ecartis and put at URL below -- -- Type: application/pgp-signature -- Desc: Digital signature -- Size: 190 bytes -- URL : http://lists.ee.ethz.ch/p/426BE3DC17011-signature.asc -- Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi