From: Paul Wise Date: Tue, 28 Oct 2014 23:21:12 +0000 (+0800) Subject: Exclude some FreeBSD-specific filesystems for munin df* plugins X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=90d7596ee685a019f28e1af474c52b121ca37161;hp=fbc97990bd45935b7b78996b16fc583a52c15981;p=dsa-puppet.git Exclude some FreeBSD-specific filesystems for munin df* plugins Fixes all kFreeBSD hosts showing problems for the munin df* plugins Workaround: https://bugs.debian.org/767102 Signed-off-by: Paul Wise --- diff --git a/modules/munin/templates/munin-node.plugin.conf.erb b/modules/munin/templates/munin-node.plugin.conf.erb index 87c41dec..ac02b0ee 100644 --- a/modules/munin/templates/munin-node.plugin.conf.erb +++ b/modules/munin/templates/munin-node.plugin.conf.erb @@ -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 %>