source: trunk/noc/munin/munin.conf @ 1247

Last change on this file since 1247 was 1008, checked in by quentin, 13 years ago
Incorporate scripts-vhost data from r-b in Aggregated graph
File size: 12.7 KB
Line 
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.
6dbdir   /var/lib/munin
7htmldir /var/www/html/munin
8logdir  /var/log/munin
9rundir  /var/run/munin
10
11# Where to look for the HTML templates
12tmpldir /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.mit.edu;sx-blade-4]
92        address 18.181.0.167
93        use_node_name yes
94
95[scripts-LVS;not-forward]
96        address 18.181.0.54
97        use_node_name yes
98        update no
99        cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE
100        cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE
101        cps_www.SCRIPTS_MIT_EDU_SX_BLADE_4_MIT_EDU.type DERIVE
102        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE
103        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE
104        cps_www.SCRIPTS_CERT_MIT_EDU_SX_BLADE_4_MIT_EDU.type DERIVE
105
106[scripts-LVS;not-backward]
107        address 18.181.0.55
108        use_node_name yes
109        update no
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_MIT_EDU_SX_BLADE_4_MIT_EDU.type DERIVE
113        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE
114        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE
115        cps_www.SCRIPTS_CERT_MIT_EDU_SX_BLADE_4_MIT_EDU.type DERIVE
116
117[scripts-LVS;rack-forward]
118        address 18.181.0.117
119        use_node_name yes
120        cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE
121        cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE
122        cps_www.SCRIPTS_MIT_EDU_SX_BLADE_4_MIT_EDU.type DERIVE
123        cps_www.SCRIPTS_MIT_EDU_BEES_KNEES_MIT_EDU.type DERIVE
124        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE
125        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE
126        cps_www.SCRIPTS_CERT_MIT_EDU_SX_BLADE_4_MIT_EDU.type DERIVE
127        cps_www.SCRIPTS_CERT_MIT_EDU_BEES_KNEES_MIT_EDU.type DERIVE
128        cps_www.SCRIPTS_VHOSTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE
129        cps_www.SCRIPTS_VHOSTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE
130        cps_www.SCRIPTS_VHOSTS_MIT_EDU_BEES_KNEES_MIT_EDU.type DERIVE
131
132[scripts-LVS;rack-backward]
133        address 18.181.0.118
134        use_node_name yes
135        cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE
136        cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE
137        cps_www.SCRIPTS_MIT_EDU_SX_BLADE_4_MIT_EDU.type DERIVE
138        cps_www.SCRIPTS_MIT_EDU_BEES_KNEES_MIT_EDU.type DERIVE
139        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE
140        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE
141        cps_www.SCRIPTS_CERT_MIT_EDU_SX_BLADE_4_MIT_EDU.type DERIVE
142        cps_www.SCRIPTS_CERT_MIT_EDU_BEES_KNEES_MIT_EDU.type DERIVE
143        cps_www.SCRIPTS_VHOSTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE
144        cps_www.SCRIPTS_VHOSTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE
145        cps_www.SCRIPTS_VHOSTS_MIT_EDU_BEES_KNEES_MIT_EDU.type DERIVE
146
147[scripts-LVS;Aggregated]
148        update no
149        contacts no
150 
151        cps_www.update no
152        cps_www.graph_args -l 0
153        cps_www.graph_category network
154        cps_www.graph_title Loadbalanced *->www connections
155        cps_www.graph_vlabel connections / ${graph_period}
156
157        cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.draw AREA
158        cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE
159        cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.label SCRIPTS -> BETTER-MOUSETRAP
160        cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.max 1000
161        cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.min 0
162
163        cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.draw STACK
164        cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE
165        cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.label SCRIPTS -> OLD-FAITHFUL
166        cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.max 1000
167        cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.min 0
168
169        cps_www.SCRIPTS_MIT_EDU_SX_BLADE_4_MIT_EDU.draw STACK
170        cps_www.SCRIPTS_MIT_EDU_SX_BLADE_4_MIT_EDU.type DERIVE
171        cps_www.SCRIPTS_MIT_EDU_SX_BLADE_4_MIT_EDU.label SCRIPTS -> BEES-KNEES
172        cps_www.SCRIPTS_MIT_EDU_SX_BLADE_4_MIT_EDU.max 1000
173        cps_www.SCRIPTS_MIT_EDU_SX_BLADE_4_MIT_EDU.min 0
174
175        cps_www.SCRIPTS_VHOSTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.draw STACK
176        cps_www.SCRIPTS_VHOSTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE
177        cps_www.SCRIPTS_VHOSTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.label SCRIPTS-VHOSTS -> BETTER-MOUSETRAP
178        cps_www.SCRIPTS_VHOSTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.max 1000
179        cps_www.SCRIPTS_VHOSTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.min 0
180
181        cps_www.SCRIPTS_VHOSTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.draw STACK
182        cps_www.SCRIPTS_VHOSTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE
183        cps_www.SCRIPTS_VHOSTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.label SCRIPTS-VHOSTS -> OLD-FAITHFUL
184        cps_www.SCRIPTS_VHOSTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.max 1000
185        cps_www.SCRIPTS_VHOSTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.min 0
186
187##      cps_www.SCRIPTS_VHOSTS_MIT_EDU_SX_BLADE_4_MIT_EDU.draw STACK
188##      cps_www.SCRIPTS_VHOSTS_MIT_EDU_SX_BLADE_4_MIT_EDU.type DERIVE
189##      cps_www.SCRIPTS_VHOSTS_MIT_EDU_SX_BLADE_4_MIT_EDU.label SCRIPTS-VHOSTS -> BEES-KNEES
190##      cps_www.SCRIPTS_VHOSTS_MIT_EDU_SX_BLADE_4_MIT_EDU.max 1000
191##      cps_www.SCRIPTS_VHOSTS_MIT_EDU_SX_BLADE_4_MIT_EDU.min 0
192
193        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.draw STACK
194        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE
195        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.label SCRIPTS-CERT -> BETTER-MOUSETRAP
196        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.max 1000
197        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.min 0
198
199        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.draw STACK
200        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE
201        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.label SCRIPTS-CERT -> OLD-FAITHFUL
202        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.max 1000
203        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.min 0
204
205        cps_www.SCRIPTS_CERT_MIT_EDU_SX_BLADE_4_MIT_EDU.draw STACK
206        cps_www.SCRIPTS_CERT_MIT_EDU_SX_BLADE_4_MIT_EDU.type DERIVE
207        cps_www.SCRIPTS_CERT_MIT_EDU_SX_BLADE_4_MIT_EDU.label SCRIPTS-CERT -> BEES-KNEES
208        cps_www.SCRIPTS_CERT_MIT_EDU_SX_BLADE_4_MIT_EDU.max 1000
209        cps_www.SCRIPTS_CERT_MIT_EDU_SX_BLADE_4_MIT_EDU.min 0
210
211        cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.sum \
212                rack-forward:cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \
213                rack-backward:cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \
214                not-forward:cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \
215                not-backward:cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU
216
217        cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.sum \
218                rack-forward:cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU \
219                rack-backward:cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU \
220                not-forward:cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU \
221                not-backward:cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU
222
223    cps_www.SCRIPTS_MIT_EDU_SX_BLADE_4_MIT_EDU.sum \
224        rack-forward:cps_www.SCRIPTS_MIT_EDU_SX_BLADE_4_MIT_EDU \
225        rack-backward:cps_www.SCRIPTS_MIT_EDU_SX_BLADE_4_MIT_EDU \
226        rack-forward:cps_www.SCRIPTS_MIT_EDU_BEES_KNEES_MIT_EDU
227
228        cps_www.SCRIPTS_VHOSTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.sum \
229                rack-forward:cps_www.SCRIPTS_VHOSTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \
230                rack-backward:cps_www.SCRIPTS_VHOSTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU
231
232        cps_www.SCRIPTS_VHOSTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.sum \
233                rack-forward:cps_www.SCRIPTS_VHOSTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU \
234                rack-backward:cps_www.SCRIPTS_VHOSTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU
235
236##    cps_www.SCRIPTS_VHOSTS_MIT_EDU_SX_BLADE_4_MIT_EDU.sum \
237##        rack-forward:cps_www.SCRIPTS_VHOSTS_MIT_EDU_BEES_KNEES_MIT_EDU
238
239        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.sum \
240                rack-forward:cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \
241                rack-backward:cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \
242                not-forward:cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \
243                not-backward:cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU
244
245        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.sum \
246                rack-forward:cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU \
247                rack-backward:cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU \
248                not-forward:cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU \
249                not-backward:cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU
250
251    cps_www.SCRIPTS_CERT_MIT_EDU_SX_BLADE_4_MIT_EDU.sum \
252        rack-forward:cps_www.SCRIPTS_CERT_MIT_EDU_SX_BLADE_4_MIT_EDU \
253        rack-backward:cps_www.SCRIPTS_CERT_MIT_EDU_SX_BLADE_4_MIT_EDU \
254        rack-forward:cps_www.SCRIPTS_CERT_MIT_EDU_BEES_KNEES_MIT_EDU
255
256        cps_www.graph_order SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \
257                            SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU \
258                            SCRIPTS_MIT_EDU_SX_BLADE_4_MIT_EDU \
259                            SCRIPTS_VHOSTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \
260                            SCRIPTS_VHOSTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU \
261                            SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \
262                            SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU \
263                            SCRIPTS_CERT_MIT_EDU_SX_BLADE_4_MIT_EDU
264
265[linerva.mit.edu;linerva]
266        address 18.181.0.51
267        use_node_name yes
268
269[sipb-xen.mit.edu;black-mesa]
270        address 18.181.0.60
271        use_node_name yes
272
273[xvm-prod-sysvms.mit.edu;console]
274        address 18.181.0.134
275        use_node_name yes
276
277[xvm-prod-sysvms.mit.edu;remote]
278        address 18.181.0.188
279        use_node_name yes
280
281[xvm-prod-sysvms.mit.edu;xvm]
282        address 18.181.0.62
283        use_node_name yes
284
285[sipb-xen.mit.edu;sx-blade-2]
286        address 18.181.0.165
287        use_node_name yes
288
289[xvm-prod-hosts.mit.edu;citadel-station]
290        address 18.181.0.221
291        use_node_name yes
292
293[xvm-prod-hosts.mit.edu;aperture-science]
294        address 18.181.0.222
295        use_node_name yes
296
297[xvm-prod-hosts.mit.edu;shadow-moses]
298        address 18.181.0.223
299        use_node_name yes
300
301[xvm-prod-hosts.mit.edu;arklay-mansion]
302        address 18.181.0.224
303        use_node_name yes
304
305[lamp.mit.edu;lamp-www]
306        address 18.89.2.197
307        use_node_name yes
308
309[lamp.mit.edu;lamp-www2]
310        address 18.181.0.45
311        use_node_name yes
312
313[lamp.mit.edu;lamp-mp3]
314        address 18.181.0.45
315        port 24949
316
317[mit.edu;syn]
318        address 18.181.0.65
319        use_node_name yes
320
321[mit.edu;hodge-podge]
322        address 18.187.1.128
323        use_node_name yes
324        update no
325
326[sipb.mit.edu;ronald-ann]
327        address 18.181.0.23
328        use_node_name yes
329
330[sipb.mit.edu;rosebud2]
331        address 18.181.0.22
332        use_node_name yes
333
334[UPS;childrens-television-workshop]
335        address 18.181.0.65
336        use_node_name no
337
338[UPS;split-atom-blues]
339        address 18.181.0.65
340        use_node_name no
341
342[sipb-tor.mit.edu;sipb-tor]
343        address 18.187.1.68
344        use_node_name yes
Note: See TracBrowser for help on using the repository browser.