summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-27 18:15:28 +0100
committerHolger Levsen <holger@layer-acht.org>2014-10-27 18:15:28 +0100
commit81926b5e268c1c2fdf88b850f01baa39b9418f1d (patch)
tree6ba5a0122550e6b23e0f162fc76daa070df58c91 /etc
parentdb99ff0ebde4d3c3ba41a809458a906a9eef7099 (diff)
downloadjenkins.debian.net-81926b5e268c1c2fdf88b850f01baa39b9418f1d.tar.xz
configure munin df plugin, overriding the package defaults, to ignore devtmpfs and mountpoints with these regexes: /srv/workspace/pbuilder /run /dev/disk/by
Diffstat (limited to 'etc')
-rw-r--r--etc/munin/plugin-conf.d/df3
-rw-r--r--etc/munin/plugin-conf.d/munin-node117
2 files changed, 119 insertions, 1 deletions
diff --git a/etc/munin/plugin-conf.d/df b/etc/munin/plugin-conf.d/df
index 5047d294..12ff49f6 100644
--- a/etc/munin/plugin-conf.d/df
+++ b/etc/munin/plugin-conf.d/df
@@ -1,5 +1,6 @@
[df*]
-env.exclude none unknown iso9660 squashfs udf romfs ramfs debugfs /srv/workspace/pbuilder
+env.exclude none unknown iso9660 squashfs udf romfs ramfs debugfs devtmpfs
+env.exclude_re /srv/workspace/pbuilder /run /dev/disk/by
env.warning 92
env.critical 98
diff --git a/etc/munin/plugin-conf.d/munin-node b/etc/munin/plugin-conf.d/munin-node
new file mode 100644
index 00000000..e766928f
--- /dev/null
+++ b/etc/munin/plugin-conf.d/munin-node
@@ -0,0 +1,117 @@
+# 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
+
+[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 debian-sys-maint
+env.mysqlconnection DBI:mysql:mysql;mysql_read_default_file=/etc/mysql/debian.cnf
+
+[postfix_mailqueue]
+user postfix
+
+[postfix_mailstats]
+group adm
+
+[postfix_mailvolume]
+group adm
+env.logfile mail.log
+
+[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