From aa75c5e3c13eca1689dc051c655c6b5f4bbccc73 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 27 Sep 2021 08:57:52 +0100 Subject: [PATCH] Enable SNMP monitoring for PDUs and switches in Dublin --- roles/fafnir.rb | 7 +++++++ 1 file changed, 7 insertions(+) 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" } } + } } ) -- 2.39.5