]> git.sven.stormbind.net Git - sven/scripts.git/blob - mrtg-alix/mrtg-scripts/mrtg.cfg
Simplify for NICs to MaxBytes[xxx]
[sven/scripts.git] / mrtg-alix / mrtg-scripts / mrtg.cfg
1 ######################################################################
2 # Multi Router Traffic Grapher -- Sample Configuration File
3 ######################################################################
4 # This file is for use with mrtg-2.5.4c
5
6 # Global configuration
7 WorkDir: /var/www/mrtg
8 WriteExpires: Yes
9 LogFormat: rrdtool
10 IconDir: /mrtg/
11
12 Title[^]: Analysis for arthur 
13
14 # Nr of procs and load
15 Target[load]: `/usr/local/sbin/explore_load /proc/loadavg`
16 MaxBytes[load]: 1500
17 Title[load]: - Load and # of processes
18 PageTop[load]: <H1>Load average and # of procs</H1>
19 Options[load]: nopercent,growright,gauge
20 ShortLegend[load]: &nbsp;
21 YLegend[load]: procs, load*100
22 Legend1[load]: Five-minutes load average * 100
23 Legend2[load]: Number of processes
24 LegendI[load]: &nbsp;load*100
25 LegendO[load]: &nbsp;procs
26 #WithPeak[load]: wym
27 Colours[load]: ORANGE#ffa000, RED#f00000, BLACK#000000, VIOLET#ff00ff
28
29
30 # System and non-idle time
31 Target[cpu]: `/usr/local/sbin/explore_cpu`
32 MaxBytes1[cpu]: 2000
33 MaxBytes2[cpu]: 10000
34 Title[cpu]: - System and aggregated non-idle time
35 PageTop[cpu]: <H1>System CPU time and non-idle CPU time</H1>
36 Options[cpu]: growright,nopercent,gauge,logscale
37 ShortLegend[cpu]: &nbsp;jiffies
38 YLegend[cpu]: jiffies
39 Legend1[cpu]: System CPU Time
40 Legend2[cpu]: Non-Idle CPU Time
41 LegendI[cpu]: &nbsp;system
42 LegendO[cpu]: &nbsp;nonidle
43 WithPeak[cpu]: wym
44 Colours[cpu]: ORANGE#ffa000, RED#f00000, BLACK#000000, VIOLET#ff00ff
45
46 # entropy
47 Target[entropy]: `/usr/local/sbin/explore_entropy`
48 MaxBytes[entropy]: 4500
49 Title[entropy]: - Entropy
50 PageTop[entropy]: <H1>System entropy</H1>
51 Options[entropy]: growright,nopercent,gauge,noo
52 WithPeak[entropy]: ymw
53 ShortLegend[entropy]: entropy
54 YLegend[entropy]: entropy
55 Legend1[entropy]: entropy
56 Legend2[entropy]: -
57 LegendI[entropy]: &nbsp;entropy
58 LegendO[entropy]: &nbsp;
59 Colours[entropy]: ORANGE#ffa000, RED#f00000, BLACK#000000, VIOLET#ff00ff
60
61
62 # CPU und MB tempreture
63 Target[temp]: `/usr/local/sbin/explore_temp`
64 MaxBytes[temp]: 100
65 Title[temp]: - Temp CPU and MB
66 PageTop[temp]: <H1>Temp CPU and MB</H1>
67 Options[temp]: nopercent,growright,gauge
68 ShortLegend[temp]: &nbsp;
69 YLegend[temp]: CPU, MB
70 #Legend1[temp]: Five-minutes temp
71 #Legend2[temp]: Number of processes
72 LegendI[temp]: &nbsp;CPU
73 LegendO[temp]: &nbsp;MB
74 #WithPeak[temp]: wym
75 Colours[temp]: ORANGE#ffa000, RED#f00000, BLACK#000000, VIOLET#ff00ff
76
77
78 #### Network interfaces ###
79
80 Target[ppp0]: `/usr/local/sbin/explore_net ppp0`
81 MaxBytes[ppp0]: 204800
82 Title[ppp0]: Traffic device ppp0 [DSL]
83 PageTop[ppp0]: Internet Link
84 #WithPeak[ppp0]: wym
85
86 Target[eth0]: `/usr/local/sbin/explore_net eth0`
87 MaxBytes[eth0]: 12500000
88 Title[eth0]: Traffic device eth0 [LAN]
89 PageTop[eth0]: LAN
90 #WithPeak[eth0]: wym
91
92 Target[eth2]: `/usr/local/sbin/explore_net eth2`
93 MaxBytes[eth2]: 12500000
94 Title[eth2]: Traffic device eth2 [WLAN]
95 PageTop[eth2]: WLAN
96 #WithPeak[eth2]: wym
97
98 Target[tun0]: `/usr/local/sbin/explore_net tun0`
99 MaxBytes[tun0]: 12500000
100 Title[tun0]: Traffic device tun0 [VPN]
101 PageTop[tun0]: OpenVPN
102 #WithPeak[tun0]: wym