From: Tom Hughes Date: Wed, 27 Mar 2019 19:23:31 +0000 (+0000) Subject: Fix munin alert thresholds for G9 machines X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/77c15edb86c1c5a78904db4da60a4806cc3e1bb6?ds=sidebyside;hp=ed704d2901155f5ca0d2a9d385676c8a0d0796dd Fix munin alert thresholds for G9 machines --- 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]" )