]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ironbelly.rb
Add prometheus SNMP monitoring of switch and PDUs in Amsterdam
[chef.git] / roles / ironbelly.rb
index 5042c4dd0547547d9d01e28a8abbab4fc2afc662..46bcde332c4055cedd79f4c71139632ab5e6a0d0 100644 (file)
@@ -58,6 +58,13 @@ default_attributes(
   :planet => {
     :replication => "enabled"
   },
+  :prometheus => {
+    :snmp => {
+      "pdu1" => { :address => "10.0.48.100", :module => "apcups" },
+      "pdu2" => { :address => "10.0.48.101", :module => "apcups" },
+      "switch1" => { :address => "130.117.76.2", :module => "if_mib" }
+    }
+  },
   :rsyncd => {
     :modules => {
       :hosts => {