From ba44ae68d149dfd763f10d11e40fd938e4c9764c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 6 Oct 2021 10:27:29 +0100 Subject: [PATCH] Fix hpasm alert thresholds for DL360e G8 machines --- roles/gorwen.rb | 3 ++- roles/gp-dl360e-g8.rb | 13 +++++++++++++ roles/jakelong.rb | 3 ++- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 roles/gp-dl360e-g8.rb 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]" ) -- 2.39.5