From: Tom Hughes Date: Tue, 31 May 2016 18:33:20 +0000 (+0100) Subject: Exclude tmpfs, cgmfs and devtmpfs from df and df_inode graphs X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/9932bb5bbb698b7888da25c46774bb0e57838ba9?hp=281a3f9e78489f727022eeaab1ed05377cfe22c7;ds=sidebyside Exclude tmpfs, cgmfs and devtmpfs from df and df_inode graphs --- 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