Get rid of separate warning levels for sensors_volt
authorTom Hughes <tom@compton.nu>
Wed, 23 Jul 2014 20:27:13 +0000 (21:27 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 23 Jul 2014 20:27:13 +0000 (21:27 +0100)
cookbooks/munin/recipes/default.rb
cookbooks/munin/templates/default/sensors_volt.erb [new file with mode: 0644]

index c2a360aa4011ca1e56db444738568b7d20304d6d..03bcee613c92ca4202594a956e56b45b41890869 100644 (file)
@@ -313,6 +313,7 @@ end
 if sensors_volt
   munin_plugin "sensors_volt" do
     target "sensors_"
+    conf "sensors_volt.erb"
   end
 else
   munin_plugin "sensors_volt" do
diff --git a/cookbooks/munin/templates/default/sensors_volt.erb b/cookbooks/munin/templates/default/sensors_volt.erb
new file mode 100644 (file)
index 0000000..1224ef3
--- /dev/null
@@ -0,0 +1,4 @@
+# DO NOT EDIT - This file is being maintained by Chef
+
+[sensors_volt]
+env.volt_warn_percent 0