From: Tom Hughes Date: Wed, 6 Oct 2021 09:27:29 +0000 (+0100) Subject: Fix hpasm alert thresholds for DL360e G8 machines X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/ba44ae68d149dfd763f10d11e40fd938e4c9764c Fix hpasm alert thresholds for DL360e G8 machines --- diff --git a/roles/gorwen.rb b/roles/gorwen.rb index d6c29bf7c..a5452e40b 100644 --- a/roles/gorwen.rb +++ b/roles/gorwen.rb @@ -33,5 +33,6 @@ default_attributes( ) run_list( - "role[equinix-dub]" + "role[equinix-dub]", + "role[hp-dl360e-g8]" ) diff --git a/roles/gp-dl360e-g8.rb b/roles/gp-dl360e-g8.rb new file mode 100644 index 000000000..20c9c32c0 --- /dev/null +++ b/roles/gp-dl360e-g8.rb @@ -0,0 +1,13 @@ +name "hp-dl360e-g8" +description "Role applied to all HP DL360e G8 machines" + +default_attributes( + :munin => { + :plugins => { + :hpasmcli2_temp => { + :temp15 => { :warning => 68, :critical => 80 }, + :temp16 => { :warning => 68, :critical => 80 } + } + } + } +) diff --git a/roles/jakelong.rb b/roles/jakelong.rb index dcd6e5787..33c6938f2 100644 --- a/roles/jakelong.rb +++ b/roles/jakelong.rb @@ -33,5 +33,6 @@ default_attributes( ) run_list( - "role[equinix-dub]" + "role[equinix-dub]", + "role[hp-dl360e-g8]" )