]> git.openstreetmap.org Git - chef.git/commitdiff
Fix munin limits for inverted temperature sensors
authorTom Hughes <tom@compton.nu>
Wed, 23 Jul 2014 12:50:54 +0000 (13:50 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 23 Jul 2014 12:50:54 +0000 (13:50 +0100)
roles/errol.rb
roles/orm.rb
roles/poldi.rb
roles/yevaud.rb

index 0b547d610636e366e88615b7aa0454d8d4cc2120..17905f61de91e60957061daa32fe0a0d833ee8dd 100644 (file)
@@ -4,6 +4,10 @@ description "Master role applied to errol"
 default_attributes(
   :munin => {
     :plugins => {
 default_attributes(
   :munin => {
     :plugins => {
+      :ipmi_temp => {
+        :CPU0belowTmax => { :critical => "10:" },
+        :CPU1belowTmax => { :critical => "10:" }
+      },
       :sensors_fan => {
         :contacts => "null"
       },
       :sensors_fan => {
         :contacts => "null"
       },
index d66cda15464196bfaa581b840f411df67dd66690..51ff04b40af367a7da8d6aac98e2daaddb5852c5 100644 (file)
@@ -38,6 +38,10 @@ default_attributes(
         :Sys9 => { :graph => "no" },
         :Sys10 => { :graph => "no" }
       },
         :Sys9 => { :graph => "no" },
         :Sys10 => { :graph => "no" }
       },
+      :ipmi_temp => {
+        :CPU0belowTmax => { :critical => "10:" },
+        :CPU1belowTmax => { :critical => "10:" }
+      },
       :sensors_fan => {
         :fan3 => { :graph => "no" },
         :fan4 => { :graph => "no" },
       :sensors_fan => {
         :fan3 => { :graph => "no" },
         :fan4 => { :graph => "no" },
index 55d5c038d63d466d1942be4a9d5b460298f8b284..46ba3963eaade5865a09a6fab3d50a4f24f2fc23 100644 (file)
@@ -94,6 +94,10 @@ default_attributes(
         :Sys9 => { :graph => "no" },
         :Sys10 => { :graph => "no" }
       },
         :Sys9 => { :graph => "no" },
         :Sys10 => { :graph => "no" }
       },
+      :ipmi_temp => {
+        :CPU0belowTmax => { :critical => "10:" },
+        :CPU1belowTmax => { :critical => "10:" }
+      },
       :sensors_volt => {
         :volt6 => {
           :warning => "2.992:3.536"
       :sensors_volt => {
         :volt6 => {
           :warning => "2.992:3.536"
index 2c7339539693e9ce55076e770669336d4f7b396e..7ff33d71061f92e4cc891166e3df994c740070c8 100644 (file)
@@ -63,7 +63,8 @@ default_attributes(
         :contacts => "null",
       },
       :ipmi_temp => {
         :contacts => "null",
       },
       :ipmi_temp => {
-        :contacts => "null",
+        :CPU0belowTmax => { :critical => "10:" },
+        :CPU1belowTmax => { :critical => "10:" }
       },
       :sensors_fan => {
         :contacts => "null"
       },
       :sensors_fan => {
         :contacts => "null"