]> git.openstreetmap.org Git - chef.git/blob - cookbooks/prometheus/attributes/default.rb
Add prometheus SNMP monitoring of switch and PDUs in Amsterdam
[chef.git] / cookbooks / prometheus / attributes / default.rb
1 default[:prometheus][:addresses] = {}
2 default[:prometheus][:exporters] = {}
3 default[:prometheus][:snmp] = {}
4
5 if node[:recipes].include?("prometheus::server")
6   default[:apt][:sources] |= ["grafana"]
7 end