]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/recipes/default.rb
Don't include smart error logs in munin checks
[chef.git] / cookbooks / munin / recipes / default.rb
index 03bcee613c92ca4202594a956e56b45b41890869..847425e539f4aed4b430322cb4a122d0158ba918 100644 (file)
@@ -325,6 +325,8 @@ node[:block_device].each do |name,attributes|
   if attributes[:vendor] == "ATA"
     munin_plugin "smart_#{name}" do
       target "smart_"
+      conf "smart.erb"
+      conf_variables :disk => name
     end
   else
     munin_plugin "smart_#{name}" do