]> git.openstreetmap.org Git - chef.git/commitdiff
Fix munin alert thresholds for G9 machines
authorTom Hughes <tom@compton.nu>
Wed, 27 Mar 2019 19:23:31 +0000 (19:23 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 27 Mar 2019 20:45:22 +0000 (20:45 +0000)
roles/hp-g9.rb [new file with mode: 0644]
roles/spike-06.rb
roles/spike-07.rb
roles/spike-08.rb

diff --git a/roles/hp-g9.rb b/roles/hp-g9.rb
new file mode 100644 (file)
index 0000000..01f2afc
--- /dev/null
@@ -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 }
+      }
+    }
+  }
+)
index 272ddcd5df00eabe30f698a9fb6b13d630552f2d..8ecaeecb7b645b98fe3453dcd5cfe735853aa44b 100644 (file)
@@ -30,5 +30,6 @@ default_attributes(
 )
 
 run_list(
-  "role[equinix]"
+  "role[equinix]",
+  "role[hp-g9]"
 )
index c5045fc6effc351e3dc86e553429b230bd041740..d9d02f2028d2973d280b68cb795a0a9ad47dbfe3 100644 (file)
@@ -30,5 +30,6 @@ default_attributes(
 )
 
 run_list(
-  "role[equinix]"
+  "role[equinix]",
+  "role[hp-g9]"
 )
index d43645c6f70936dbcf61d0214d43afe99b9f308c..b52759b657736a28f3a85d414f9f613f779a0a3f 100644 (file)
@@ -30,5 +30,6 @@ default_attributes(
 )
 
 run_list(
-  "role[equinix]"
+  "role[equinix]",
+  "role[hp-g9]"
 )