[rrd-users] RRD DS;heartbeat and MRTG
Chris Josephes
cjoseph at mr.net
Mon Oct 11 17:21:16 MEST 1999
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)
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
More information about the rrd-users
mailing list