blob: 77ce939a91898cc8f7783f8f3863f4db4aa63a94 (
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
|
# $FreeBSD$
#
######################################################################
# This file is installed by the sysutils/munin-node port, you should #
# not change it, you should create a local.conf file in the same #
# directory with your local changes. #
######################################################################
#
# This file contains configuration options for the plugins. Three
# options are understood by munin-node itself:
#
# 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> # Sets <variable> in the plugin's environment, see the
# individual plugins to find out which variables they
# care about.
#
# Note that many of the environment variables are just guesses
# because the port maintainer did not bother to install all the
# software that the Munin plugins can monitor. Please don't hesitate
# to file a PR against the munin-node port if you find an error.
# The logtail program used by many plugins is installed with the
# port security/logcheck. The munin-node port has no dependency on
# that port because most plugins do not require it.
[*]
env.PATH %%LOCALBASE%%/sbin:%%LOCALBASE%%/bin:/sbin:/bin:/usr/sbin:/usr/bin
[amavis]
env.amavislog /var/log/maillog
env.logtail %%LOCALBASE%%/bin/logtail
[courier_*]
env.logfile /var/log/maillog
env.logtail %%LOCALBASE%%/bin/logtail
[dhcp3]
env.configfile %%LOCALBASE%%/etc/dhcpd.conf
env.leasefile /var/db/dhcpd.leases
[exim*]
group mail
env.exim %%LOCALBASE%%/sbin/exim
[fail2ban*]
user root
env.client %%LOCALBASE%%/bin/fail2ban-client
[hddtemp_smartctl]
user root
group operator
env.smartctl %%LOCALBASE%%/sbin/smartctl
[ipmi_*]
user root
[mbmon*]
env.mbmon %%LOCALBASE%%/bin/mbmon
[mysql*]
env.mysql %%LOCALBASE%%/bin/mysql
env.mysqladmin %%LOCALBASE%%/bin/mysqladmin
env.mysqlshow %%LOCALBASE%%/bin/mysqlshow
[nut*]
env.upsc %%LOCALBASE%%/bin/upsc
env.upsconf %%LOCALBASE%%/etc/nut/ups.conf
[postfix*]
user root
env.logfile maillog
[sendmail*]
group wheel
env.mspqueue /var/spool/clientmqueue
env.mailstats /usr/sbin/mailstats
[smart_*]
user root
group operator
env.smartpath %%LOCALBASE%%/sbin/smartctl
|