summaryrefslogtreecommitdiffstats
path: root/roles/common/templates/etc/munin/plugin-conf.d/munin-node.j2
blob: ec471eb23b643f42b7b6b7832217c17713def602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# This file is used to configure how the plugins are invoked.
# Place in /etc/munin/plugin-conf.d/ or corresponding directory.
#
# PLEASE NOTE: Changes in the plugin-conf.d directory are only
# read at munin-node startup, so restart at any changes.
#
# user <user>         # Set the user to run the plugin as.
# group <group>       # Set the group to run the plugin as.
# command <command>   # Run <command> instead of the plugin. %c expands to
#                       what would normally be run.
# env.<variable> <value> # Sets <variable> in the plugin's environment, see the
#                       individual plugins to find out which variables they
#                       care about.


[amavis]
group adm
env.MUNIN_MKTEMP /bin/mktemp -p /tmp/ $1
env.amavislog /var/log/mail.info

[apt]
user root

[courier_mta_mailqueue]
group daemon

[courier_mta_mailstats]
group adm

[courier_mta_mailvolume]
group adm

[cps*]
user root

[df*]
env.warning 92
env.critical 98
env.exclude_re ^/run/user

[exim_mailqueue]
group adm, (Debian-exim)

[exim_mailstats]
group adm, (Debian-exim)
env.logdir /var/log/exim4/
env.logname mainlog

[fw_conntrack]
user root

[fw_forwarded_local]
user root

[hddtemp_smartctl]
user root

[hddtemp2]
user root

[if_*]
user root

[if_err_*]
user nobody

[ip_*]
user root

[ipmi_*]
user root

[mysql*]
user root
env.mysqlopts --defaults-file=/etc/mysql/debian.cnf
env.mysqluser root
env.mysqlconnection DBI:mysql:mysql;mysql_read_default_file=/etc/mysql/debian.cnf

[postfix_mailqueue_*]
user postfix

[postfix_stats_*]
group adm

[postfix_sasl_*]
group adm

[postfix_mailvolume2]
group adm
env.postmulti postfix{% for g in postfix_instance.keys() | sort %}{% if g in group_names %} postfix-{{ postfix_instance[g].name }}{% endif %}{% endfor %}


[dovecot_logins]
group adm

[dovecot_stats_*]
user root

[dovecot_who]
user root

[sendmail_*]
user smmta

[smart_*]
user root

[vlan*]
user root

[ejabberd*]
user ejabberd
env.statuses available away chat xa
env.days 1 7 30

[dhcpd3]
user root
env.leasefile /var/lib/dhcp3/dhcpd.leases
env.configfile /etc/dhcp3/dhcpd.conf

[jmx_*]
env.ip 127.0.0.1
env.port 5400

[samba]
user root

[munin_stats]
user munin
group munin

[postgres_*]
user postgres
env.PGUSER postgres
env.PGPORT 5432

[fail2ban]
user root

[slapd2]
user munin
group munin