From 7bf9926d8fd2ba918eaa379aace7c7c02c500ace Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 23 Jul 2014 13:50:54 +0100 Subject: [PATCH] Fix munin limits for inverted temperature sensors --- roles/errol.rb | 4 ++++ roles/orm.rb | 4 ++++ roles/poldi.rb | 4 ++++ roles/yevaud.rb | 3 ++- 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/roles/errol.rb b/roles/errol.rb index 0b547d610..17905f61d 100644 --- a/roles/errol.rb +++ b/roles/errol.rb @@ -4,6 +4,10 @@ description "Master role applied to errol" default_attributes( :munin => { :plugins => { + :ipmi_temp => { + :CPU0belowTmax => { :critical => "10:" }, + :CPU1belowTmax => { :critical => "10:" } + }, :sensors_fan => { :contacts => "null" }, diff --git a/roles/orm.rb b/roles/orm.rb index d66cda154..51ff04b40 100644 --- a/roles/orm.rb +++ b/roles/orm.rb @@ -38,6 +38,10 @@ default_attributes( :Sys9 => { :graph => "no" }, :Sys10 => { :graph => "no" } }, + :ipmi_temp => { + :CPU0belowTmax => { :critical => "10:" }, + :CPU1belowTmax => { :critical => "10:" } + }, :sensors_fan => { :fan3 => { :graph => "no" }, :fan4 => { :graph => "no" }, diff --git a/roles/poldi.rb b/roles/poldi.rb index 55d5c038d..46ba3963e 100644 --- a/roles/poldi.rb +++ b/roles/poldi.rb @@ -94,6 +94,10 @@ default_attributes( :Sys9 => { :graph => "no" }, :Sys10 => { :graph => "no" } }, + :ipmi_temp => { + :CPU0belowTmax => { :critical => "10:" }, + :CPU1belowTmax => { :critical => "10:" } + }, :sensors_volt => { :volt6 => { :warning => "2.992:3.536" diff --git a/roles/yevaud.rb b/roles/yevaud.rb index 2c7339539..7ff33d710 100644 --- a/roles/yevaud.rb +++ b/roles/yevaud.rb @@ -63,7 +63,8 @@ default_attributes( :contacts => "null", }, :ipmi_temp => { - :contacts => "null", + :CPU0belowTmax => { :critical => "10:" }, + :CPU1belowTmax => { :critical => "10:" } }, :sensors_fan => { :contacts => "null" -- 2.43.2