]> git.openstreetmap.org Git - chef.git/commitdiff
Configure PDU monitoring in Amsterdam
authorTom Hughes <tom@compton.nu>
Thu, 26 Jul 2018 17:54:13 +0000 (18:54 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 26 Jul 2018 17:54:13 +0000 (18:54 +0100)
roles/ironbelly.rb
roles/ridley.rb

index 8a9c3f74185b35885c1d52f6503ec053e3924f4d..1694191e1f5b469306e93ce63dcaa641d1c1edfd 100644 (file)
@@ -26,6 +26,21 @@ default_attributes(
       :data => "/store/elasticsearch"
     }
   },
       :data => "/store/elasticsearch"
     }
   },
+  :munin => {
+    :graphs => {
+      :apcpdu_ams => {
+        :title => "Current for Amsterdam",
+        :vlabel => "Amps",
+        :category => "Ups",
+        :values => {
+          :load => {
+            :sum => ["apcpdu_pdu1.load", "apcpdu_pdu2.load"],
+            :label => "Load"
+          }
+        }
+      }
+    }
+  },
   :networking => {
     :interfaces => {
       :internal_ipv4 => {
   :networking => {
     :interfaces => {
       :internal_ipv4 => {
index 3d742bf5fcb018f576ffa14f8d1e86d5c8f2c236..62228f5bc399e57ea14f682979e175a9a78de58f 100644 (file)
@@ -6,21 +6,6 @@ default_attributes(
     :first_address => "10.0.15.1",
     :last_address => "10.0.15.254"
   },
     :first_address => "10.0.15.1",
     :last_address => "10.0.15.254"
   },
-  :munin => {
-    :graphs => {
-      :apcpdu_ucl => {
-        :title => "Current for UCL",
-        :vlabel => "Amps",
-        :category => "Ups",
-        :values => {
-          :load => {
-            :sum => ["apcpdu_apc1.load", "apcpdu_apc2.load", "apcpdu_apc3.load"],
-            :label => "Load"
-          }
-        }
-      }
-    }
-  },
   :networking => {
     :interfaces => {
       :external_ipv4 => {
   :networking => {
     :interfaces => {
       :external_ipv4 => {