source: noc/munin/munin.conf @ 556

Last change on this file since 556 was 536, checked in by quentin, 17 years ago
Initial checkin of munin configuration
File size: 6.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-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;Aggregated]
108        update no
109        contacts no
110 
111        cps_www.update no
112        cps_www.graph_args -l 0
113        cps_www.graph_category network
114        cps_www.graph_title Loadbalanced *->www connections
115        cps_www.graph_vlabel connections / ${graph_period}
116        cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.draw AREA
117        cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE
118        cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.label SCRIPTS -> BETTER-MOUSETRAP
119        cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.max 1000
120        cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.min 0
121        cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.draw STACK
122        cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE
123        cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.label SCRIPTS -> OLD-FAITHFUL
124        cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.max 1000
125        cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.min 0
126        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.draw STACK
127        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.type DERIVE
128        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.label SCRIPTS-CERT -> BETTER-MOUSETRAP
129        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.max 1000
130        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.min 0
131        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.draw STACK
132        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.type DERIVE
133        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.label SCRIPTS-CERT -> OLD-FAITHFUL
134        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.max 1000
135        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.min 0
136
137        cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.sum \
138                not-forward:cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \
139                not-backward:cps_www.SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU
140
141        cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU.sum \
142                not-forward:cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU \
143                not-backward:cps_www.SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU
144
145        cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU.sum \
146                not-forward:cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \
147                not-backward:cps_www.SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU
148
149        cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU.sum \
150                not-forward:cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU \
151                not-backward:cps_www.SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU
152
153        cps_www.graph_order SCRIPTS_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \
154                            SCRIPTS_MIT_EDU_OLD_FAITHFUL_MIT_EDU \
155                            SCRIPTS_CERT_MIT_EDU_BETTER_MOUSETRAP_MIT_EDU \
156                            SCRIPTS_CERT_MIT_EDU_OLD_FAITHFUL_MIT_EDU
157
158#        cps_www.graph_order inputtotal outputtotal
159 
160#         snmp_ups_power.update no
161#         snmp_ups_power.graph_args --base 1000 -l 0
162#         snmp_ups_power.graph_category UPS
163#         snmp_ups_power.graph_title Aggregated output power
164#         snmp_ups_power.graph_vlabel Watts
165#         snmp_ups_power.output.label Output power
166#         snmp_ups_power.graph_order output
167#         snmp_ups_power.output.sum \
168#                         ups-5a:snmp_ups_ups-5a_power.outputpower \
169#                         ups-5b:snmp_ups_ups-5b_power.outputpower
170
171[linerva.mit.edu;linerva]
172        address 18.181.0.51
173        use_node_name yes
Note: See TracBrowser for help on using the repository browser.