]> git.openstreetmap.org Git - chef.git/commitdiff
Remove unused support for legacy linux_diskstat_ munin plugin
authorTom Hughes <tom@compton.nu>
Wed, 22 Jan 2014 00:19:48 +0000 (00:19 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 22 Jan 2014 00:19:48 +0000 (00:19 +0000)
cookbooks/munin/recipes/default.rb

index ce771e8c8cc29e8318715e29c5254e7560932214..e83cac6f69690cc836e878c861a412d84defa02f 100644 (file)
@@ -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"