]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Exclude some FreeBSD-specific filesystems for munin df* plugins
authorPaul Wise <pabs@debian.org>
Tue, 28 Oct 2014 23:21:12 +0000 (07:21 +0800)
committerPaul Wise <pabs@debian.org>
Tue, 28 Oct 2014 23:26:38 +0000 (07:26 +0800)
Fixes all kFreeBSD hosts showing problems for the munin df* plugins

Workaround: https://bugs.debian.org/767102
Signed-off-by: Paul Wise <pabs@debian.org>
modules/munin/templates/munin-node.plugin.conf.erb

index 87c41decae5445a5c19ab52ba23ea6e57766906b..ac02b0eea0302adf386e1ca76e4523f50fdae0cc 100644 (file)
@@ -100,3 +100,9 @@ out
 # filter out all the short-lived sbuild/schroot filesystems for diskstats:
 [diskstats]
 env.exclude sbuild,schroot
+
+<% 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 %>