Hard code voltage limits for Tyan S7010 machines
authorTom Hughes <tom@compton.nu>
Sun, 15 Mar 2015 00:27:33 +0000 (00:27 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 15 Mar 2015 00:29:12 +0000 (00:29 +0000)
The sensor chip on this board seems to have a habit of periodically
returning the wrong value for a limit, so hard code them in munin to
prevent false positive alerts.

roles/tyan-s7010.rb

index 30d13b774a2599d434fd8db89bde77210089fb87..6b188e7ff29ddd3a1b99f12b1786789fead27b83 100644 (file)
@@ -53,6 +53,18 @@ default_attributes(
       :ipmi_temp => {
         :CPU0belowTmax => { :critical => "10:" },
         :CPU1belowTmax => { :critical => "10:" }
+      },
+      :sensors_volts => {
+        "VCoreA" => { :warning => "0.70:1.42", :critical => "0.70:1.42" },
+        "VCoreB" => { :warning => "0.70:1.42", :critical => "0.70:1.42" },
+        "in2" => { :warning => "0.00:2.05", :critical => "0.00:2.05" },
+        "in3" => { :warning => "0.00:4.08", :critical => "0.00:4.08" },
+        "in4" => { :warning => "0.00:4.08", :critical => "0.00:4.08" },
+        "in5" => { :warning => "2.99:3.54", :critical => "2.99:3.54" },
+        "in6" => { :warning => "0.00:2.04", :critical => "0.00:2.04" },
+        "+5V" => { :warning => "4.52:5.50", :critical => "4.52:5.50" },
+        "5VSB" => { :warning => "4.52:5.50", :critical => "4.52:5.50" },
+        "Vbat" => { :warning => "2.70:3.30", :critical => "2.70:3.30" }
       }
     }
   }