[mrtg] Re: can i keep more data
Brander, Eric
Eric.Brander at ACS-INC.com
Tue Oct 15 21:32:25 MEST 2002
Very cool... but in my MRTG I don't have those lines you mentioned. Here is
what I have:
my @args = ($rrd, '-b', $time-10, '-s', int($interval * 60),
"DS:ds0:$up_abs:$minhb:0:$absi",
"DS:ds1:$up_abs:$minhb:0:$abso",
"RRA:AVERAGE:0.5:1:$rows",
( $interval < 30 ?
("RRA:AVERAGE:0.5:".int(30/$interval).":800"):()),
"RRA:AVERAGE:0.5:".int(120/$interval).":800",
"RRA:AVERAGE:0.5:".int(1440/$interval).":800",
"RRA:MAX:0.5:1:$rows",
( $interval < 30 ? ("RRA:MAX:0.5:".int(30/$interval).":800"):()),
"RRA:MAX:0.5:".int(120/$interval).":800",
"RRA:MAX:0.5:".int(1440/$interval).":800");
Bunch of gobblygook to me. I would love to also be able to do 5 minute
charts using MRTG, but I am not qualified to modify perl code yet =)
-----Original Message-----
From: Alex Nguyen [mailto:anguyen at videotron.net]
Sent: Tuesday, October 15, 2002 2:22 PM
To: Bishop, Dean
Cc: 'mrtg at list.ee.ethz.ch'
Subject: [mrtg] Re: can i keep more data
Hi,
We store in rrd 5 min for 1 year, but you can also do for 2 year as
well. You need to modify the mrtg.
Look for :
"RRA:AVERAGE:0.5:1:600",
"RRA:AVERAGE:0.5:6:700",
"RRA:AVERAGE:0.5:24:775",
"RRA:AVERAGE:0.5:288:797",
"RRA:MAX:0.5:1:600",
"RRA:MAX:0.5:6:700",
"RRA:MAX:0.5:24:775",
"RRA:MAX:0.5:288:797");
Replace by :
"RRA:AVERAGE:0.5:1:210816",
"RRA:MAX:0.5:1:210816");
The next time mrtg create a rrd file, it will be for 2 years of data in 5
minutes.
BTW, each rrd is ~6M big.
A.
On Tue, 15 Oct 2002, Bishop, Dean wrote:
BD> Date: Tue, 15 Oct 2002 15:08:34 -0400
BD> From: "Bishop, Dean" <dean.bishop at tcdsb.org>
BD> To: "'mrtg at list.ee.ethz.ch'" <mrtg at list.ee.ethz.ch>
BD> Subject: [mrtg] can i keep more data
BD>
BD>
BD> Good morning,
BD>
BD> i was wondering if it were possible to store more data in my log/rrd
files.
BD>
BD> i would like to keep each of my 5 minute results for the entire 2 year
BD> period. Is this possible?
BD>
BD> thanks in advance,
BD> dean
BD>
BD> --
BD> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
BD> Archive http://www.ee.ethz.ch/~slist/mrtg
BD> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
BD> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
BD>
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list