From 90d7596ee685a019f28e1af474c52b121ca37161 Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Wed, 29 Oct 2014 07:21:12 +0800 Subject: [PATCH] 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 --- modules/munin/templates/munin-node.plugin.conf.erb | 6 ++++++ 1 file changed, 6 insertions(+) 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 %> -- 2.39.2