X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/e683209e4f70c3ef4c859ebcd287544174cd760a..5d5de00e063b460a750b4fa6d90b769bbff32de7:/roles/ironbelly.rb diff --git a/roles/ironbelly.rb b/roles/ironbelly.rb index 5042c4dd0..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", @@ -58,6 +58,19 @@ default_attributes( :planet => { :replication => "enabled" }, + :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" } } + }, + :metrics => { + :uplink_interface => { + :help => "Site uplink interface name", + :labels => { :site => "amsterdam", :name => "te1/0/1" } + } + } + }, :rsyncd => { :modules => { :hosts => { @@ -102,7 +115,7 @@ default_attributes( ) run_list( - "role[equinix]", + "role[equinix-ams]", "role[gateway]", "role[web-storage]", "role[supybot]",