]> git.openstreetmap.org Git - chef.git/commitdiff
Enable SNMP monitoring for PDUs and switches in Dublin
authorTom Hughes <tom@compton.nu>
Mon, 27 Sep 2021 07:57:52 +0000 (08:57 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 27 Sep 2021 07:57:52 +0000 (08:57 +0100)
roles/fafnir.rb

index 1e19617f9c3e866756e0f8928cbefd7553a7147b..cf6d88c5396cee42b8857352abff9334b3404aac 100644 (file)
@@ -36,6 +36,13 @@ default_attributes(
         :address => "2001:470:1:b3b::2"
       }
     }
+  },
+  :prometheus => {
+    :snmp => {
+      "pdu1" => { :address => "10.0.64.100", :module => "apcups", :labels => { "site" => "dublin" } },
+      "pdu2" => { :address => "10.0.64.101", :module => "apcups", :labels => { "site" => "dublin" } },
+      "switch1" => { :address => "184.104.226.97", :module => "if_mib", :labels => { "site" => "dublin" } }
+    }
   }
 )