From: Tom Hughes Date: Mon, 27 Sep 2021 07:57:52 +0000 (+0100) Subject: Enable SNMP monitoring for PDUs and switches in Dublin X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/aa75c5e3c13eca1689dc051c655c6b5f4bbccc73 Enable SNMP monitoring for PDUs and switches in Dublin --- diff --git a/roles/fafnir.rb b/roles/fafnir.rb index 1e19617f9..cf6d88c53 100644 --- a/roles/fafnir.rb +++ b/roles/fafnir.rb @@ -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" } } + } } )