X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmunin%2Ftemplates%2Fmunin-node.plugin.conf.erb;h=ae8da95b0fc92fc3855403b740b2c3a4f77dbdf4;hb=be423e937fe155adccdfe3aa46cc8593e699f282;hp=73ffb46213fcc65116df46ad33c10a2256daddd6;hpb=3eb533e5499e66423bafdedaf6c7d08ead1772de;p=mirror%2Fdsa-puppet.git diff --git a/modules/munin/templates/munin-node.plugin.conf.erb b/modules/munin/templates/munin-node.plugin.conf.erb index 73ffb4621..ae8da95b0 100644 --- a/modules/munin/templates/munin-node.plugin.conf.erb +++ b/modules/munin/templates/munin-node.plugin.conf.erb @@ -27,16 +27,10 @@ group maillog" end out %> -<%= -out = "" -if has_variable?("vsftpd") and vsftpd == "true" - out=" + [vsftpd] user root -" -end -out -%> + [fw_conntrack] user root @@ -106,3 +100,13 @@ out # filter out all the short-lived sbuild/schroot filesystems for diskstats: [diskstats] env.exclude sbuild,schroot + +# filter out all the short-lived filesystems for df*: +[df*] +env.exclude_re ^/dev$ ^/run/.*$ ^/srv/piuparts-workspace/tmp.*$ ^/sys/.*$ ^/var/lib/schroot/mount/.*$ + +<% if scope.lookupvar('site::nodeinfo')['ldap'].has_key?('architecture') and scope.lookupvar('site::nodeinfo')['ldap']['architecture'][0].start_with?('kfreebsd') -%> +# Workaround for https://bugs.debian.org/767102 +[df*] +env.exclude devfs fdescfs linprocfs sysfs noprocfs linsysfs nfs nullfs +<% end %>