]> git.openstreetmap.org Git - chef.git/commitdiff
Fix hpasm alert thresholds for DL360e G8 machines
authorTom Hughes <tom@compton.nu>
Wed, 6 Oct 2021 09:27:29 +0000 (10:27 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 6 Oct 2021 09:28:02 +0000 (10:28 +0100)
roles/gorwen.rb
roles/gp-dl360e-g8.rb [new file with mode: 0644]
roles/jakelong.rb

index d6c29bf7ce035f9869c470329afce3dfd86011f0..a5452e40ba39d4c646ea1ce5455917de95a5ad87 100644 (file)
@@ -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 (file)
index 0000000..20c9c32
--- /dev/null
@@ -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 }
+      }
+    }
+  }
+)
index dcd6e57875125301486422a1dfe8deba9f1fefeb..33c6938f24d92ca4c68089b4d72d3b501d85de89 100644 (file)
@@ -33,5 +33,6 @@ default_attributes(
 )
 
 run_list(
-  "role[equinix-dub]"
+  "role[equinix-dub]",
+  "role[hp-dl360e-g8]"
 )