[mrtg-developers] Defining RRA row counts for new RRD's created by MRTG (docu missing!)
Tobias Oetiker
tobi at oetiker.ch
Thu May 7 08:42:52 CEST 2009
Hi Chris,
great ... the patch is in svn now ...
cheers
tobi
Tuesday Chrisfu wrote:
>
>
> oetiker wrote:
> >
> > Chrisfu,
> >
> > one thing though
> >
> > Today Chrisfu wrote:
> >>
> >> *** mrtg.patch BEGIN ***
> >> --- mrtg.original 2009-05-05 15:12:15.000000000 +0100
> >> +++ mrtg 2009-05-05 15:23:02.000000000 +0100
> >> @@ -815,17 +815,20 @@
> >> my $minhb = int($$cfg{interval} * 60)*2;
> > [...]
> >> *** MRTG_lib.pm.patch END ***
> >
> > please patch the mrtg-reference.pod too, so that others know of
> > these features as well :-)
> >
> > cheers
> > tobi
> >
>
> Hi Tobi,
>
> As promised, here is the patch for mtrg-reference.pod. Please let me know
> if this is suitable!
>
> *** mrtg-reference.pod.patch BEGIN ***
> --- mrtg-reference.pod.original 2009-05-05 17:34:54.000000000 +0100
> +++ mrtg-reference.pod 2009-05-05 17:54:12.000000000 +0100
> @@ -1765,6 +1765,36 @@
>
> RRDRowCount[myrouter]: 1600
>
> +=head2 RRDRowCount30m
> +
> +As per RRDRowCount, but for the RRA's -typically- used for 30 minute data.
> +Even so, you must still take the base interval into account. Leaving out
> +this keyword will force the old default of 800 rows.
> +
> +Example:
> +
> + RRDRowCount30m[myrouter]: 800
> +
> +=head2 RRDRowCount2h
> +
> +As per RRDRowCount, but for the RRA's -typically- used for 2 hour data.
> +Even so, you must still take the base interval into account. Leaving out
> +this keyword will force the old default of 800 rows.
> +
> +Example:
> +
> + RRDRowCount2h[myrouter]: 400
> +
> +=head2 RRDRowCount1d
> +
> +As per RRDRowCount, but for the RRA's -typically- used for 1 day data.
> +Even so, you must still take the base interval into account. Leaving out
> +this keyword will force the old default of 800 rows.
> +
> +Example:
> +
> + RRDRowCount1d[myrouter]: 200
> +
> =head2 RRDHWRRAs
>
> Normally the RRDs created by MRTG will just contain the information
> gathered
> *** mrtg-reference.pod.patch END ***
>
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the mrtg-developers
mailing list