X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/021df83f3e3707d4835f94f48f755c01b1ee2af9..34891395c293a6fd10e0a622cb601b8e39d80e87:/roles/fafnir.rb?ds=sidebyside 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" } } } }