[rrd-users] Re: RRD DS;heartbeat and MRTG

Tobias Oetiker oetiker at ee.ethz.ch
Mon Oct 11 22:18:14 MEST 1999


Today you sent me mail regarding [rrd-users] RRD DS;heartbeat and MRTG:

*> It looks like the test rrd file I created is working now with the higher
*> heartbeat setting.  Now I just need to update the other files so they will
*> work with a larger MRTG Interval.
*> 
*> I looked over some of the MRTG source code again and I thought some
*> of the RRA definitions looked somewhat excessive.
*> 
*>           RRDs::create($rrd, '-b', $now, '-s', 300,
*>                   "DS:ds0:$up_abs:600:U:U",
*>                   "DS:ds1:$up_abs:600:U:U",
*>                   "RRA:AVERAGE:0.5:1:600",
*>                   "RRA:AVERAGE:0.5:6:600",
*>                   "RRA:AVERAGE:0.5:24:600",
*>                   "RRA:AVERAGE:0.5:288:732",
*>                   "RRA:MAX:0.5:1:600",
*>                   "RRA:MAX:0.5:6:600",
*>                   "RRA:MAX:0.5:24:600",
*>                   "RRA:MAX:0.5:288:732");
*> 
*> Given a five minute interval, we're keeping 600 1 interval avgs/maxs, 600
*> 6 interval avgs/maxs, 600 24 interval avgs,maxs, and 732 288 interval
*> avgs/maxs.
*> 
*> Wouldn't it be better to specify the RRAs like this...
*> 
*> 	RRA:AVERAGE:0.5:1:288	(daily, 5 minute average)
*> 	RRA:AVERAGE:0.5:12:168  (weekly, 1 hour average)
*> 	RRA:AVERAGE:0.5:24:360  (monthly, 2 hour average)
*>         RRA:AVERAGE:0.5:288:365 (yearly, 1 day average)
*>         RRA:MAX:0.5:1:288   (daily, 5 minute maximum)
*>         RRA:MAX:0.5:12:168  (weekly, 1 hour maximum)
*>         RRA:MAX:0.5:24:360  (monthly, 2 hour maximum)
*>         RRA:MAX:0.5:288:365 (yearly, 1 day maximum)

this would be a possibility, but MRTG actually stores as much information as
in the first example ... you can make the mrtg graphs wider and then you get
to see this additional information ... and harddiskspace is cheep ...
performance is not influanced by the amount of data stored in an rrd ...

cheers
tobi
*> 
*> I would think that this would make the RRD files smaller, and it would
*> still give us enough information to make the usual MRTG graphs.
*> 
*> --                      _______________
*>  Chris Josephes      __/ MRNet/Onvoy   \
*>  chrisj at mr.net    __/   www.onvoy.com  /
*> \________________/
*> 
*> --
*> * To unsubscribe from the rrd-users mailing list, send a message with the
*>   subject: unsubscribe to rrd-users-request at list.ee.ethz.ch
*> 
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch



More information about the rrd-users mailing list