X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0608d0277c35b05b65e760990cbfe063e1d7ae0a..f664c7c2028b184edaf72beea179b99180b3c224:/roles/ironbelly.rb diff --git a/roles/ironbelly.rb b/roles/ironbelly.rb index c9638ae96..8260dfb28 100644 --- a/roles/ironbelly.rb +++ b/roles/ironbelly.rb @@ -60,14 +60,14 @@ default_attributes( }, :prometheus => { :snmp => { - "pdu1" => { :address => "10.0.48.100", :module => "apcups", :labels => { "site" => "amsterdam" } }, - "pdu2" => { :address => "10.0.48.101", :module => "apcups", :labels => { "site" => "amsterdam" } }, - "switch1" => { :address => "130.117.76.2", :module => "if_mib", :labels => { "site" => "amsterdam" } } + "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 => "130.117.76.2", :modules => %w[if_mib cisco_550x], :labels => { "site" => "amsterdam" } } }, :metrics => { :uplink_interface => { :help => "Site uplink interface name", - :labels => { :site => "amsterdam", :name => "te1/0/1" } + :labels => { :site => "amsterdam", :name => "te[12]/0/1" } } } }, @@ -110,8 +110,7 @@ default_attributes( "2001:41c9:2:d6::/64", # bytemark external "127.0.0.0/8", # localhost "::1" # localhost - ], - :nodes_allow => "roles:tilecache" + ] } } } @@ -120,7 +119,6 @@ default_attributes( run_list( "role[equinix-ams]", "role[gateway]", - "role[web-storage]", "role[supybot]", "role[backup]", "role[planet]",