[mrtg-developers] Defining RRA row counts for new RRD's created by MRTG (docu missing!)

Chrisfu chris.merrett at melbourne.co.uk
Tue May 5 18:58:33 CEST 2009



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

-- 
View this message in context: http://n2.nabble.com/Defining-RRA-row-counts-for-new-RRD%27s-created-by-MRTG---Patches-enclosed-tp2798668p2800109.html
Sent from the MRTG Developers Mailinglist mailing list archive at Nabble.com.



More information about the mrtg-developers mailing list