X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d1b835abf6c54e768ead54dd0056011554ba0b71..d6ee422a3f48f53ba3ffe99fa86d905dc8d2b245:/cookbooks/munin/recipes/plugins.rb diff --git a/cookbooks/munin/recipes/plugins.rb b/cookbooks/munin/recipes/plugins.rb index 7b8eb1a47..dde0a55dd 100644 --- a/cookbooks/munin/recipes/plugins.rb +++ b/cookbooks/munin/recipes/plugins.rb @@ -117,18 +117,6 @@ else end end -munin_plugin "hpasmcli_temp" do - action :delete -end - -munin_plugin "hpasmcli_fans" do - action :delete -end - -munin_plugin "http_loadtime" do - action :delete -end - node[:network][:interfaces].each do |ifname, ifattr| if ifattr[:flags]&.include?("UP") && !ifattr[:flags].include?("LOOPBACK") if node[:hardware] && @@ -205,33 +193,20 @@ munin_plugin "load" munin_plugin "memory" munin_plugin "netstat" -if node[:kernel][:modules].include?("nfsv3") - munin_plugin "nfs_client" -else - munin_plugin "nfs_client" do - action :delete - end +munin_plugin "nfs_client" do + action :delete end -if node[:kernel][:modules].include?("nfsv4") - munin_plugin "nfs4_client" -else - munin_plugin "nfs4_client" do - action :delete - end +munin_plugin "nfs4_client" do + action :delete end -if node[:kernel][:modules].include?("nfsd") - munin_plugin "nfsd" - munin_plugin "nfsd4" -else - munin_plugin "nfsd" do - action :delete - end +munin_plugin "nfsd" do + action :delete +end - munin_plugin "nfsd4" do - action :delete - end +munin_plugin "nfsd4" do + action :delete end munin_plugin "open_files"