X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f263015bff089f1d2ae00159cb5ae99c3d5f2850..530cc480bd3624cf4eed5f18f7f792a85067e631:/roles/ironbelly.rb diff --git a/roles/ironbelly.rb b/roles/ironbelly.rb index 91edefceb..10b1e9599 100644 --- a/roles/ironbelly.rb +++ b/roles/ironbelly.rb @@ -52,15 +52,17 @@ default_attributes( } }, :prometheus => { + :junos => { + "switch1" => { :address => "184.104.179.129", :labels => { "site" => "amsterdam" } } + }, :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 => { :help => "Site uplink interface name", - :labels => { :site => "amsterdam", :name => "ge-[01]/2/0|ae60" } + :labels => { :site => "amsterdam", :name => "ge-[01]/2/[02]" } } } },