[mrtg] Re: can i keep more data

Tobias Oetiker oetiker at ee.ethz.ch
Tue Oct 15 23:51:31 MEST 2002



Today Brander, Eric wrote:

>
> 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 =)

from reference.pod

head2 RRDRowCount

This affects the creation of new rrd files. By default rrds are created to
hold about 1 days worth of high resolution data. (plus 1 week of 30 minute
data, 2 month of 2 hour data and 2 years of 1 day data).  Whith this Keyword
you can change the number of base interval entries configured for new rrds
as they get created. Note that you must take the interval time into account.

Example:

RRDRowCount[ezwf]: 1600


cheers
tobi
>
> -----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
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
 / // _ \/ _ \/ / phoneto:+41(0)1-632-5286  faxto:+41(0)1-632-1517
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://google.com/search?q=tobi

--
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