X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/021df83f3e3707d4835f94f48f755c01b1ee2af9..2391778fabfc9e50cef662975c0205bcf0b25a78:/roles/fafnir.rb diff --git a/roles/fafnir.rb b/roles/fafnir.rb index 7c14764ac..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 => "xe[01]/2/[01]|ge-[01]/2/2" } + :labels => { :site => "dublin", :name => "xe-[01]/2/[01]|ge-[01]/2/2" } } } }