]> git.sven.stormbind.net Git - sven/scripts.git/blobdiff - mrtg-alix/mrtg-scripts/mrtg.cfg
Set MaxBytes for CPU to something reasonable high for use on multicore systems
[sven/scripts.git] / mrtg-alix / mrtg-scripts / mrtg.cfg
index 7d1def4d9fb6cd81775142fc348721a5722fe4fb..f14de7331e433e18349ae300522e939aa2805f0f 100644 (file)
@@ -1,8 +1,3 @@
-######################################################################
-# Multi Router Traffic Grapher -- Sample Configuration File
-######################################################################
-# This file is for use with mrtg-2.5.4c
-
 # Global configuration
 WorkDir: /var/www/mrtg
 WriteExpires: Yes
@@ -23,14 +18,12 @@ Legend1[load]: Five-minutes load average * 100
 Legend2[load]: Number of processes
 LegendI[load]:  load*100
 LegendO[load]:  procs
-#WithPeak[load]: wym
 Colours[load]: ORANGE#ffa000, RED#f00000, BLACK#000000, VIOLET#ff00ff
 
 
 # System and non-idle time
 Target[cpu]: `/usr/local/sbin/explore_cpu`
-MaxBytes1[cpu]: 2000
-MaxBytes2[cpu]: 10000
+MaxBytes[cpu]: 10000000
 Title[cpu]: - System and aggregated non-idle time
 PageTop[cpu]: <H1>System CPU time and non-idle CPU time</H1>
 Options[cpu]: growright,nopercent,gauge,logscale
@@ -40,9 +33,23 @@ Legend1[cpu]: System CPU Time
 Legend2[cpu]: Non-Idle CPU Time
 LegendI[cpu]: &nbsp;system
 LegendO[cpu]: &nbsp;nonidle
-WithPeak[cpu]: wym
 Colours[cpu]: ORANGE#ffa000, RED#f00000, BLACK#000000, VIOLET#ff00ff
 
+# entropy
+Target[entropy]: `/usr/local/sbin/explore_entropy`
+MaxBytes[entropy]: 4500
+Title[entropy]: - Entropy
+PageTop[entropy]: <H1>System entropy</H1>
+Options[entropy]: growright,nopercent,gauge,noo
+ShortLegend[entropy]: entropy
+YLegend[entropy]: entropy
+Legend1[entropy]: entropy
+Legend2[entropy]: -
+LegendI[entropy]: &nbsp;entropy
+LegendO[entropy]: &nbsp;
+Colours[entropy]: ORANGE#ffa000, RED#f00000, BLACK#000000, VIOLET#ff00ff
+
+
 # CPU und MB tempreture
 Target[temp]: `/usr/local/sbin/explore_temp`
 MaxBytes[temp]: 100
@@ -51,40 +58,33 @@ PageTop[temp]: <H1>Temp CPU and MB</H1>
 Options[temp]: nopercent,growright,gauge
 ShortLegend[temp]: &nbsp;
 YLegend[temp]: CPU, MB
-#Legend1[temp]: Five-minutes temp
-#Legend2[temp]: Number of processes
 LegendI[temp]: &nbsp;CPU
 LegendO[temp]: &nbsp;MB
-#WithPeak[temp]: wym
 Colours[temp]: ORANGE#ffa000, RED#f00000, BLACK#000000, VIOLET#ff00ff
 
 
 #### Network interfaces ###
 
 Target[ppp0]: `/usr/local/sbin/explore_net ppp0`
-MaxBytes1[ppp0]: 204800
-MaxBytes2[ppp0]: 204800
+MaxBytes[ppp0]: 204800
 Title[ppp0]: Traffic device ppp0 [DSL]
 PageTop[ppp0]: Internet Link
 #WithPeak[ppp0]: wym
 
 Target[eth0]: `/usr/local/sbin/explore_net eth0`
-MaxBytes1[eth0]: 12500000
-MaxBytes2[eth0]: 12500000
+MaxBytes[eth0]: 12500000
 Title[eth0]: Traffic device eth0 [LAN]
 PageTop[eth0]: LAN
 #WithPeak[eth0]: wym
 
 Target[eth2]: `/usr/local/sbin/explore_net eth2`
-MaxBytes1[eth2]: 12500000
-MaxBytes2[eth2]: 12500000
+MaxBytes[eth2]: 12500000
 Title[eth2]: Traffic device eth2 [WLAN]
 PageTop[eth2]: WLAN
 #WithPeak[eth2]: wym
 
 Target[tun0]: `/usr/local/sbin/explore_net tun0`
-MaxBytes1[tun0]: 12500000
-MaxBytes2[tun0]: 12500000
+MaxBytes[tun0]: 12500000
 Title[tun0]: Traffic device tun0 [VPN]
 PageTop[tun0]: OpenVPN
 #WithPeak[tun0]: wym
\ No newline at end of file