X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3a4d52bd4c0f8e6ae7679145846b7bc7845d8ace..f9e3e2a61aca2a356d5e3f69b3f3f6f3c6986ce9:/roles/tyan-s7010.rb diff --git a/roles/tyan-s7010.rb b/roles/tyan-s7010.rb index 30d13b774..fb1cd1b91 100644 --- a/roles/tyan-s7010.rb +++ b/roles/tyan-s7010.rb @@ -1,9 +1,17 @@ name "tyan-s7010" -description "Role applied to machines using the Tyan S710 motherboard" +description "Role applied to machines using the Tyan S7010 motherboard" default_attributes( :hardware => { - :modules => %w(i2c_i801 jc42 w83793), + :hwmon => { + "i2c_0_0_002f" => { + :ignore => %w[fan3 fan4 fan5 fan6 fan7 fan8 fan9 fan10 fan11 fan12] + } + }, + :ipmi => { + :excluded_sensors => [13, 14, 15, 16, 17, 18, 19, 20] + }, + :modules => %w[i2c_i801 jc42 w83793], :sensors => { "jc42-*" => { :temps => { @@ -53,6 +61,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" } } } }