X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8ad66df69a108a031ff4fb869f002a6598005649..45d2403bb1a4c58493bfa583ad0824b0ca6c1c04:/roles/tyan-s7010.rb?ds=sidebyside diff --git a/roles/tyan-s7010.rb b/roles/tyan-s7010.rb index 87e77e7fc..2565f1eed 100644 --- a/roles/tyan-s7010.rb +++ b/roles/tyan-s7010.rb @@ -3,9 +3,10 @@ description "Role applied to machines using the Tyan S710 motherboard" default_attributes( :hardware => { + :modules => %w(i2c_i801 jc42 w83793), :sensors => { "jc42-*" => { - :temps => { + :temps => { "temp1" => { :max => 75 } } }, @@ -17,6 +18,8 @@ default_attributes( "in9" => { :min => 2.608, :max => 3.536 } }, :fans => { + "fan1" => { :min => 1500 }, + "fan2" => { :min => 1500 }, "fan3" => { :ignore => true }, "fan4" => { :ignore => true }, "fan5" => { :ignore => true }, @@ -33,23 +36,35 @@ default_attributes( "temp6" => { :max => 78, :max_hyst => 73 } } } - }, + } }, :munin => { :plugins => { :ipmi_fans => { - :Sys3Front1 => { :graph => "no" }, - :Sys4Front2 => { :graph => "no" }, - :Sys5Rear1 => { :graph => "no" }, - :Sys6 => { :graph => "no" }, - :Sys7 => { :graph => "no" }, - :Sys8 => { :graph => "no" }, - :Sys9 => { :graph => "no" }, - :Sys10 => { :graph => "no" } + :Sys3Front1 => { :graph => "no", :warning => "0:" }, + :Sys4Front2 => { :graph => "no", :warning => "0:" }, + :Sys5Rear1 => { :graph => "no", :warning => "0:" }, + :Sys6 => { :graph => "no", :warning => "0:" }, + :Sys7 => { :graph => "no", :warning => "0:" }, + :Sys8 => { :graph => "no", :warning => "0:" }, + :Sys9 => { :graph => "no", :warning => "0:" }, + :Sys10 => { :graph => "no", :warning => "0:" } }, :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" } } } }