From: Tom Hughes Date: Fri, 4 Aug 2023 10:35:35 +0000 (+0100) Subject: Disable SNMP monitoring of switches X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/5c316de4cdef360e538c18893e57edf9e17b37b7 Disable SNMP monitoring of switches --- diff --git a/roles/fafnir.rb b/roles/fafnir.rb index a48f623ca..c443332c2 100644 --- a/roles/fafnir.rb +++ b/roles/fafnir.rb @@ -48,8 +48,7 @@ default_attributes( }, :snmp => { "pdu1" => { :address => "10.0.64.100", :modules => %w[apcups], :labels => { "site" => "dublin" } }, - "pdu2" => { :address => "10.0.64.101", :modules => %w[apcups], :labels => { "site" => "dublin" } }, - "switch1" => { :address => "184.104.226.97", :modules => %w[if_mib juniper_ex4300], :labels => { "site" => "dublin" } } + "pdu2" => { :address => "10.0.64.101", :modules => %w[apcups], :labels => { "site" => "dublin" } } }, :metrics => { :uplink_interface => { diff --git a/roles/ironbelly.rb b/roles/ironbelly.rb index 0cb7817e0..10b1e9599 100644 --- a/roles/ironbelly.rb +++ b/roles/ironbelly.rb @@ -57,8 +57,7 @@ default_attributes( }, :snmp => { "pdu1" => { :address => "10.0.48.100", :modules => %w[apcups], :labels => { "site" => "amsterdam" } }, - "pdu2" => { :address => "10.0.48.101", :modules => %w[apcups], :labels => { "site" => "amsterdam" } }, - "switch1" => { :address => "184.104.179.129", :modules => %w[if_mib juniper_ex4300], :labels => { "site" => "amsterdam" } } + "pdu2" => { :address => "10.0.48.101", :modules => %w[apcups], :labels => { "site" => "amsterdam" } } }, :metrics => { :uplink_interface => {