From 2bce87624a95eeebc027ee8f3eed5fda8c47bba9 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 22 Jan 2014 00:19:48 +0000 Subject: [PATCH] Remove unused support for legacy linux_diskstat_ munin plugin --- cookbooks/munin/recipes/default.rb | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/cookbooks/munin/recipes/default.rb b/cookbooks/munin/recipes/default.rb index ce771e8c8..e83cac6f6 100644 --- a/cookbooks/munin/recipes/default.rb +++ b/cookbooks/munin/recipes/default.rb @@ -188,23 +188,6 @@ else end munin_plugin "irqstats" - -Dir.new("/sys/block").each do |device| - if device.match(/^sd/) - munin_plugin "linux_diskstat_iops_#{device}" do - target "linux_diskstat_" - end - - munin_plugin "linux_diskstat_latency_#{device}" do - target "linux_diskstat_" - end - - munin_plugin "linux_diskstat_throughput_#{device}" do - target "linux_diskstat_" - end - end -end - munin_plugin "load" munin_plugin "memory" munin_plugin "netstat" -- 2.39.5