]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/templates/default/munin.smart.erb
Update smart related munin plugins to handle all disks
[chef.git] / cookbooks / hardware / templates / default / munin.smart.erb
diff --git a/cookbooks/hardware/templates/default/munin.smart.erb b/cookbooks/hardware/templates/default/munin.smart.erb
new file mode 100644 (file)
index 0000000..8a09c83
--- /dev/null
@@ -0,0 +1,8 @@
+# DO NOT EDIT - This file is being maintained by Chef
+
+[smart_<%= @disk[:munin] %>]
+<% if @disk[:driver] -%>
+env.smartargs -H -d <%= @disk[:driver] %>,<%= @disk[:id] %>
+<% else -%>
+env.smartargs -H
+<% end -%>