]> git.openstreetmap.org Git - chef.git/commitdiff
Increase warning threshol for IO zone on G5 machines
authorTom Hughes <tom@compton.nu>
Tue, 23 Dec 2014 09:35:14 +0000 (09:35 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 23 Dec 2014 09:35:14 +0000 (09:35 +0000)
12 files changed:
roles/ascalon.rb
roles/clifford.rb
roles/draco.rb
roles/grindtooth.rb
roles/hp-g5.rb [new file with mode: 0644]
roles/idris.rb
roles/norbert.rb
roles/sarel.rb
roles/thorn-01.rb
roles/thorn-02.rb
roles/thorn-03.rb
roles/urmel.rb

index f453ced3872f66294d2d9b7ae9c9f999b0d8f975..cffccad359582c1c64f34d3d7bac67cacc7d3b0e 100644 (file)
@@ -27,5 +27,6 @@ default_attributes(
 
 run_list(
   "role[ucl-wolfson]",
 
 run_list(
   "role[ucl-wolfson]",
+  "role[hp-g5]",
   "role[roundup]"
 )
   "role[roundup]"
 )
index fbef667cc2f10625e5632d4660512d5408a86483..d19e4bed52d09e5fb456542754094285a5c6f931 100644 (file)
@@ -22,5 +22,6 @@ default_attributes(
 
 run_list(
   "role[ucl-wolfson]",
 
 run_list(
   "role[ucl-wolfson]",
+  "role[hp-g5]",
   "role[forum]"
 )
   "role[forum]"
 )
index 30bbc770eed8d28aefd626d58cfed535fd5b1a38..a5c7d9c20896526e42884091418f01c1dd1121eb 100644 (file)
@@ -30,5 +30,6 @@ default_attributes(
 )
 
 run_list(
 )
 
 run_list(
-  "role[ucl-wolfson]"
+  "role[ucl-wolfson]",
+  "role[hp-g5]"
 )
 )
index c86b55c2e943b711bbd78a7db25a660f88209ae7..cf9538ed1bb6501827e32770e99c8ef90c76a1c3 100644 (file)
@@ -22,5 +22,6 @@ default_attributes(
 
 run_list(
   "role[ucl-wolfson]",
 
 run_list(
   "role[ucl-wolfson]",
+  "role[hp-g5]",
   "role[taginfo]"
 )
   "role[taginfo]"
 )
diff --git a/roles/hp-g5.rb b/roles/hp-g5.rb
new file mode 100644 (file)
index 0000000..50986b1
--- /dev/null
@@ -0,0 +1,12 @@
+name "hp-g5"
+description "Role applied to all HP G5 machines"
+
+default_attributes(
+  :munin => {
+    :plugins => {
+      :hpasmcli2_temp => {
+        :temp1 => { :warning => 60 }
+      }
+    }
+  }
+)
index b13469623f593b811d9839bad4d21a6407879184..372aba8cb91ce4badafb6836d3a3dce2d25cbe8f 100644 (file)
@@ -21,5 +21,6 @@ default_attributes(
 )
 
 run_list(
 )
 
 run_list(
-  "role[ucl-wolfson]"
+  "role[ucl-wolfson]",
+  "role[hp-g5]"
 )
 )
index b860ce55ea87754a327219ae3e60520241302252..28fc3aaa1f79cf1c7801f290100bf767391923e8 100644 (file)
@@ -45,5 +45,6 @@ default_attributes(
 )
 
 run_list(
 )
 
 run_list(
-  "role[ucl-wolfson]"
+  "role[ucl-wolfson]",
+  "role[hp-g5]"
 )
 )
index c2a667a4c8bef20eb6b0f1410bfe29ee6ec9891e..26f845b900dacad47c627ef70cb0edbc92527fb6 100644 (file)
@@ -22,5 +22,6 @@ default_attributes(
 
 run_list(
   "role[ucl-wolfson]",
 
 run_list(
   "role[ucl-wolfson]",
+  "role[hp-g5]",
   "role[yournavigation]"
 )
   "role[yournavigation]"
 )
index 65bbc810d87322a66e67d3143311d2f5eda8195d..40de2f07fe550cdb4be2a1f9d6402a95c7954a91 100644 (file)
@@ -16,5 +16,6 @@ default_attributes(
 
 run_list(
   "role[ic]",
 
 run_list(
   "role[ic]",
+  "role[hp-g5]",
   "role[web-backend]"
 )
   "role[web-backend]"
 )
index 3bed1acc27b8daf62d51d4e0995ec8506cb75d7e..c901477203fdc92ad44363c4147452fb92a1f76b 100644 (file)
@@ -16,5 +16,6 @@ default_attributes(
 
 run_list(
   "role[ic]",
 
 run_list(
   "role[ic]",
+  "role[hp-g5]",
   "role[web-backend]"
 )
   "role[web-backend]"
 )
index da838574ea9b0f092c66b77aa856fb28a5e49457..cf1d721a986b9d8c1c159a9497f6b1fcc2b30d35 100644 (file)
@@ -16,5 +16,6 @@ default_attributes(
 
 run_list(
   "role[ic]",
 
 run_list(
   "role[ic]",
+  "role[hp-g5]",
   "role[web-backend]"
 )
   "role[web-backend]"
 )
index a556a8072745b29ec1df19abfae78d996331b35f..ee8635986f4517c3e6968d8323763dbe40b0a262 100644 (file)
@@ -22,5 +22,6 @@ default_attributes(
 
 run_list(
   "role[ucl-wolfson]",
 
 run_list(
   "role[ucl-wolfson]",
+  "role[hp-g5]",
   "role[munin]"
 )
   "role[munin]"
 )