X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/bb670c9eb8501639d3073dfa54c2d921ca8da5ee..455f8d9bfa94ac304fc34ae546bf8ceb5d5bc4cf:/roles/ironbelly.rb diff --git a/roles/ironbelly.rb b/roles/ironbelly.rb index 46bcde332..d19422dec 100644 --- a/roles/ironbelly.rb +++ b/roles/ironbelly.rb @@ -6,7 +6,7 @@ default_attributes( :sources => ["ubuntugis-unstable"] }, :bind => { - :clients => "equinix" + :clients => "equinix-ams" }, :dhcpd => { :first_address => "10.0.63.1", @@ -60,9 +60,15 @@ default_attributes( }, :prometheus => { :snmp => { - "pdu1" => { :address => "10.0.48.100", :module => "apcups" }, - "pdu2" => { :address => "10.0.48.101", :module => "apcups" }, - "switch1" => { :address => "130.117.76.2", :module => "if_mib" } + "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" } } + }, + :metrics => { + :uplink_interface => { + :help => "Site uplink interface name", + :labels => { :site => "amsterdam", :name => "te1/0/1" } + } } }, :rsyncd => { @@ -109,7 +115,7 @@ default_attributes( ) run_list( - "role[equinix]", + "role[equinix-ams]", "role[gateway]", "role[web-storage]", "role[supybot]",