X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ff044920428608b2c04507ad52d6ab52c9d6555f..6d5ddf3137c047a9933d1f0ca3be2db55dab148b:/roles/tyan-s7010.rb?ds=inline diff --git a/roles/tyan-s7010.rb b/roles/tyan-s7010.rb index 5d313b8c4..2565f1eed 100644 --- a/roles/tyan-s7010.rb +++ b/roles/tyan-s7010.rb @@ -3,9 +3,7 @@ description "Role applied to machines using the Tyan S710 motherboard" default_attributes( :hardware => { - :modules => [ - "i2c_i801", "jc42", "w83793" - ], + :modules => %w(i2c_i801 jc42 w83793), :sensors => { "jc42-*" => { :temps => { @@ -38,7 +36,7 @@ default_attributes( "temp6" => { :max => 78, :max_hyst => 73 } } } - }, + } }, :munin => { :plugins => { @@ -55,6 +53,18 @@ default_attributes( :ipmi_temp => { :CPU0belowTmax => { :critical => "10:" }, :CPU1belowTmax => { :critical => "10:" } + }, + :sensors_volt => { + "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" } } } }