1 | # Example configuration file for Munin, generated by 'make build' |
---|
2 | |
---|
3 | # The next three variables specifies where the location of the RRD |
---|
4 | # databases, the HTML output, and the logs, severally. They all |
---|
5 | # must be writable by the user running munin-cron. |
---|
6 | dbdir /var/lib/munin |
---|
7 | htmldir /var/www/html/munin |
---|
8 | logdir /var/log/munin |
---|
9 | rundir /var/run/munin |
---|
10 | |
---|
11 | # Where to look for the HTML templates |
---|
12 | tmpldir /etc/munin/templates |
---|
13 | |
---|
14 | # Make graphs show values per minute instead of per second |
---|
15 | #graph_period minute |
---|
16 | |
---|
17 | # Drop somejuser@fnord.comm and anotheruser@blibb.comm an email everytime |
---|
18 | # something changes (OK -> WARNING, CRITICAL -> OK, etc) |
---|
19 | #contact.someuser.command mail -s "Munin notification" somejuser@fnord.comm |
---|
20 | #contact.anotheruser.command mail -s "Munin notification" anotheruser@blibb.comm |
---|
21 | # |
---|
22 | # For those with Nagios, the following might come in handy. In addition, |
---|
23 | # the services must be defined in the Nagios server as well. |
---|
24 | #contact.nagios.command /usr/sbin/send_nsca -H nagios.host.com -c /etc/send_nsca.cfg |
---|
25 | |
---|
26 | # a simple host tree |
---|
27 | #[localhost] |
---|
28 | # address 127.0.0.1 |
---|
29 | # use_node_name yes |
---|
30 | |
---|
31 | # |
---|
32 | # A more complex example of a host tree |
---|
33 | # |
---|
34 | ## First our "normal" host. |
---|
35 | # [fii.foo.com] |
---|
36 | # address foo |
---|
37 | # |
---|
38 | ## Then our other host... |
---|
39 | # [fay.foo.com] |
---|
40 | # address fay |
---|
41 | # |
---|
42 | ## Then we want totals... |
---|
43 | # [foo.com;Totals] #Force it into the "foo.com"-domain... |
---|
44 | # update no # Turn off data-fetching for this "host". |
---|
45 | # |
---|
46 | # # The graph "load1". We want to see the loads of both machines... |
---|
47 | # # "fii=fii.foo.com:load.load" means "label=machine:graph.field" |
---|
48 | # load1.graph_title Loads side by side |
---|
49 | # load1.graph_order fii=fii.foo.com:load.load fay=fay.foo.com:load.load |
---|
50 | # |
---|
51 | # # The graph "load2". Now we want them stacked on top of each other. |
---|
52 | # load2.graph_title Loads on top of each other |
---|
53 | # load2.dummy_field.stack fii=fii.foo.com:load.load fay=fay.foo.com:load.load |
---|
54 | # load2.dummy_field.draw AREA # We want area instead the default LINE2. |
---|
55 | # load2.dummy_field.label dummy # This is needed. Silly, really. |
---|
56 | # |
---|
57 | # # The graph "load3". Now we want them summarised into one field |
---|
58 | # load3.graph_title Loads summarised |
---|
59 | # load3.combined_loads.sum fii.foo.com:load.load fay.foo.com:load.load |
---|
60 | # load3.combined_loads.label Combined loads # Must be set, as this is |
---|
61 | # # not a dummy field! |
---|
62 | # |
---|
63 | ## ...and on a side note, I want them listen in another order (default is |
---|
64 | ## alphabetically) |
---|
65 | # |
---|
66 | # # Since [foo.com] would be interpreted as a host in the domain "com", we |
---|
67 | # # specify that this is a domain by adding a semicolon. |
---|
68 | # [foo.com;] |
---|
69 | # node_order Totals fii.foo.com fay.foo.com |
---|
70 | # |
---|
71 | [sql.mit.edu;kitchen-sink] |
---|
72 | address 18.181.0.56 |
---|
73 | use_node_name yes |
---|
74 | df._dev_mapper_vg0_lv1.warning 98 |
---|
75 | df._dev_mapper_vg0_lv1.critical 99 |
---|
76 | |
---|
77 | [sql.mit.edu;sliced-bread] |
---|
78 | address 18.181.0.47 |
---|
79 | use_node_name yes |
---|
80 | df._dev_mapper_vg0_lv1.warning 98 |
---|
81 | df._dev_mapper_vg0_lv1.critical 99 |
---|
82 | |
---|
83 | [scripts.mit.edu;better-mousetrap] |
---|
84 | address 18.181.0.57 |
---|
85 | use_node_name yes |
---|
86 | |
---|
87 | [scripts.mit.edu;old-faithful] |
---|
88 | address 18.181.0.53 |
---|
89 | use_node_name yes |
---|
90 | |
---|
91 | [scripts-LVS;not-forward] |
---|
92 | address 18.181.0.54 |
---|
93 | use_node_name yes |
---|
94 | cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE |
---|
95 | cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE |
---|
96 | cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE |
---|
97 | cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE |
---|
98 | |
---|
99 | [scripts-LVS;not-backward] |
---|
100 | address 18.181.0.55 |
---|
101 | use_node_name yes |
---|
102 | cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE |
---|
103 | cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE |
---|
104 | cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE |
---|
105 | cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE |
---|
106 | |
---|
107 | [scripts-LVS;rack-forward] |
---|
108 | address 18.181.0.117 |
---|
109 | use_node_name yes |
---|
110 | cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE |
---|
111 | cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE |
---|
112 | cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE |
---|
113 | cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE |
---|
114 | |
---|
115 | [scripts-LVS;rack-backward] |
---|
116 | address 18.181.0.118 |
---|
117 | use_node_name yes |
---|
118 | cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE |
---|
119 | cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE |
---|
120 | cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE |
---|
121 | cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE |
---|
122 | |
---|
123 | [scripts-LVS;Aggregated] |
---|
124 | update no |
---|
125 | contacts no |
---|
126 | |
---|
127 | cps_www.update no |
---|
128 | cps_www.graph_args -l 0 |
---|
129 | cps_www.graph_category network |
---|
130 | cps_www.graph_title Loadbalanced *->www connections |
---|
131 | cps_www.graph_vlabel connections / ${graph_period} |
---|
132 | cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.draw AREA |
---|
133 | cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE |
---|
134 | cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.label SCRIPTS -> BETTER-MOUSETRAP |
---|
135 | cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.max 1000 |
---|
136 | cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.min 0 |
---|
137 | cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.draw STACK |
---|
138 | cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE |
---|
139 | cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.label SCRIPTS -> OLD-FAITHFUL |
---|
140 | cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.max 1000 |
---|
141 | cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.min 0 |
---|
142 | cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.draw STACK |
---|
143 | cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE |
---|
144 | cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.label SCRIPTS-CERT -> BETTER-MOUSETRAP |
---|
145 | cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.max 1000 |
---|
146 | cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.min 0 |
---|
147 | cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.draw STACK |
---|
148 | cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE |
---|
149 | cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.label SCRIPTS-CERT -> OLD-FAITHFUL |
---|
150 | cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.max 1000 |
---|
151 | cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.min 0 |
---|
152 | |
---|
153 | cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.sum \ |
---|
154 | rack-forward:cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \ |
---|
155 | rack-backward:cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \ |
---|
156 | not-forward:cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \ |
---|
157 | not-backward:cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU |
---|
158 | |
---|
159 | cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.sum \ |
---|
160 | rack-forward:cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU \ |
---|
161 | rack-backward:cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU \ |
---|
162 | not-forward:cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU \ |
---|
163 | not-backward:cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU |
---|
164 | |
---|
165 | cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.sum \ |
---|
166 | rack-forward:cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \ |
---|
167 | rack-backward:cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \ |
---|
168 | not-forward:cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \ |
---|
169 | not-backward:cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU |
---|
170 | |
---|
171 | cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.sum \ |
---|
172 | rack-forward:cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU \ |
---|
173 | rack-backward:cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU \ |
---|
174 | not-forward:cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU \ |
---|
175 | not-backward:cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU |
---|
176 | |
---|
177 | cps_www.graph_order SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \ |
---|
178 | SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU \ |
---|
179 | SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \ |
---|
180 | SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU |
---|
181 | |
---|
182 | # cps_www.graph_order inputtotal outputtotal |
---|
183 | |
---|
184 | # snmp_ups_power.update no |
---|
185 | # snmp_ups_power.graph_args --base 1000 -l 0 |
---|
186 | # snmp_ups_power.graph_category UPS |
---|
187 | # snmp_ups_power.graph_title Aggregated output power |
---|
188 | # snmp_ups_power.graph_vlabel Watts |
---|
189 | # snmp_ups_power.output.label Output power |
---|
190 | # snmp_ups_power.graph_order output |
---|
191 | # snmp_ups_power.output.sum \ |
---|
192 | # ups-5a:snmp_ups_ups-5a_power.outputpower \ |
---|
193 | # ups-5b:snmp_ups_ups-5b_power.outputpower |
---|
194 | |
---|
195 | [linerva.mit.edu;linerva] |
---|
196 | address 18.181.0.51 |
---|
197 | use_node_name yes |
---|