]> git.openstreetmap.org Git - chef.git/blob - cookbooks/prometheus/templates/default/smokeping.yml.erb
Add monitoring for some EC2 metrics
[chef.git] / cookbooks / prometheus / templates / default / smokeping.yml.erb
1 ---
2 targets:
3 - hosts:
4 <% @ip4_hosts.sort.each do |host| -%>
5   - <%= host %>
6 <% end -%>
7   interval: 5s
8   network: ip4
9   size: 24
10 - hosts:
11 <% @ip6_hosts.sort.each do |host| -%>
12   - <%= host %>
13 <% end -%>
14   interval: 5s
15   network: ip6
16   size: 24