From 77c15edb86c1c5a78904db4da60a4806cc3e1bb6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 27 Mar 2019 19:23:31 +0000 Subject: [PATCH] Fix munin alert thresholds for G9 machines --- roles/hp-g9.rb | 15 +++++++++++++++ roles/spike-06.rb | 3 ++- roles/spike-07.rb | 3 ++- roles/spike-08.rb | 3 ++- 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 roles/hp-g9.rb diff --git a/roles/hp-g9.rb b/roles/hp-g9.rb new file mode 100644 index 000000000..01f2afc00 --- /dev/null +++ b/roles/hp-g9.rb @@ -0,0 +1,15 @@ +name "hp-g9" +description "Role applied to all HP G9 machines" + +default_attributes( + :munin => { + :plugins => { + :hpasmcli2_temp => { + :temp11 => { :warning => 85, :critical => 100 }, + :temp12 => { :warning => 85, :critical => 100 }, + :temp19 => { :warning => 85, :critical => 100 }, + :temp20 => { :warning => 85, :critical => 100 } + } + } + } +) diff --git a/roles/spike-06.rb b/roles/spike-06.rb index 272ddcd5d..8ecaeecb7 100644 --- a/roles/spike-06.rb +++ b/roles/spike-06.rb @@ -30,5 +30,6 @@ default_attributes( ) run_list( - "role[equinix]" + "role[equinix]", + "role[hp-g9]" ) diff --git a/roles/spike-07.rb b/roles/spike-07.rb index c5045fc6e..d9d02f202 100644 --- a/roles/spike-07.rb +++ b/roles/spike-07.rb @@ -30,5 +30,6 @@ default_attributes( ) run_list( - "role[equinix]" + "role[equinix]", + "role[hp-g9]" ) diff --git a/roles/spike-08.rb b/roles/spike-08.rb index d43645c6f..b52759b65 100644 --- a/roles/spike-08.rb +++ b/roles/spike-08.rb @@ -30,5 +30,6 @@ default_attributes( ) run_list( - "role[equinix]" + "role[equinix]", + "role[hp-g9]" ) -- 2.39.5