Merge "Collect chrony metrics with telegraf"

This commit is contained in:
Zuul 2017-11-12 04:49:10 +00:00 committed by Gerrit Code Review
commit 51f2a267dc

View File

@ -42,6 +42,10 @@
[[inputs.system]]
[[inputs.net]]
interfaces = []
{% if inventory_hostname in groups['chrony'] and enable_chrony | bool %}
[[inputs.chrony]]
dns_lookup = false
{% endif %}
{% if inventory_hostname in groups['haproxy'] and enable_haproxy | bool %}
[[inputs.haproxy]]
servers = ["{{ haproxy_proto }}://{{ haproxy_user }}:{{ haproxy_password }}@{{ api_interface_address }}:{{ haproxy_stats_port }}"]