X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f29f56d40d9e453645a1e100e2fc7c547b091efc..b7c12630cb9de017d76fe60ff296534d6d061399:/roles/fafnir.rb diff --git a/roles/fafnir.rb b/roles/fafnir.rb index 2ee472f0d..c443332c2 100644 --- a/roles/fafnir.rb +++ b/roles/fafnir.rb @@ -43,15 +43,17 @@ default_attributes( } }, :prometheus => { + :junos => { + "switch1" => { :address => "184.104.226.97", :labels => { "site" => "dublin" } } + }, :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 => { :help => "Site uplink interface name", - :labels => { :site => "dublin", :name => "ae50|ae60" } + :labels => { :site => "dublin", :name => "xe-[01]/2/[01]|ge-[01]/2/2" } } } }