:apt => {
:sources => ["ubuntugis-unstable"]
},
+ :bind => {
+ :clients => "equinix-ams"
+ },
:dhcpd => {
:first_address => "10.0.63.1",
:last_address => "10.0.63.254"
:disk => {
:watermark => {
:low => "95%",
- :high => "98%"
+ :high => "98%",
+ :flood_stage => "99%"
}
}
}
:data => "/store/elasticsearch"
}
},
- :munin => {
- :graphs => {
- :apcpdu_ams => {
- :title => "Current for Amsterdam",
- :vlabel => "Amps",
- :category => "Ups",
- :values => {
- :load => {
- :sum => ["apcpdu_pdu1.load", "apcpdu_pdu2.load"],
- :label => "Load"
- }
- }
- }
- }
- },
:networking => {
:interfaces => {
:internal_ipv4 => {
}
}
},
- :openvpn => {
- :address => "10.0.16.2",
- :tunnels => {
- :ic2ucl => {
- :port => "1194",
- :mode => "server",
- :peer => {
- :host => "ridley.openstreetmap.org"
- }
- },
- :aws2ic => {
- :port => "1195",
- :mode => "server",
- :peer => {
- :host => "fafnir.openstreetmap.org"
- }
- },
- :ic2bm => {
- :port => "1196",
- :mode => "client",
- :peer => {
- :host => "grisu.openstreetmap.org",
- :port => "1194"
- }
+ :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" }
}
}
},
- :planet => {
- :replication => "disabled"
- },
:rsyncd => {
:modules => {
:hosts => {
)
run_list(
- "role[equinix]",
+ "role[equinix-ams]",
"role[gateway]",
"role[web-storage]",
"role[supybot]",
"role[backup]",
- "role[stats]",
"role[planet]",
- # "role[planetdump]",
- "role[logstash]",
+ "role[planetdump]",
"recipe[rsyncd]",
"recipe[dhcpd]",
- "recipe[openvpn]",
"recipe[tilelog]"
)