From 9932bb5bbb698b7888da25c46774bb0e57838ba9 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 31 May 2016 19:33:20 +0100 Subject: [PATCH] Exclude tmpfs, cgmfs and devtmpfs from df and df_inode graphs --- cookbooks/munin/recipes/default.rb | 5 +++++ cookbooks/munin/templates/default/df.erb | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 cookbooks/munin/templates/default/df.erb diff --git a/cookbooks/munin/recipes/default.rb b/cookbooks/munin/recipes/default.rb index fc457acdd..c01d84130 100644 --- a/cookbooks/munin/recipes/default.rb +++ b/cookbooks/munin/recipes/default.rb @@ -98,8 +98,13 @@ else end end +munin_plugin_conf "df" do + template "df.erb" +end + munin_plugin "df" munin_plugin "df_inode" + munin_plugin "diskstats" munin_plugin "entropy" munin_plugin "forks" diff --git a/cookbooks/munin/templates/default/df.erb b/cookbooks/munin/templates/default/df.erb new file mode 100644 index 000000000..b1c591a58 --- /dev/null +++ b/cookbooks/munin/templates/default/df.erb @@ -0,0 +1,4 @@ +# DO NOT EDIT - This file is being maintained by Chef + +[df*] +env.exclude none unknown iso9660 squashfs udf romfs ramfs vfat debugfs nilfs2 rootfs tmpfs cgmfs devtmpfs -- 2.43.2