mode "755"
files_owner "root"
files_group "root"
- files_mode 0o755
+ files_mode "755"
purge true
end
mode "750"
files_owner "root"
files_group "root"
- files_mode 0o644
+ files_mode "644"
purge false
notifies :restart, "service[munin-node]"
end
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] &&
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"