Telegraf: activate influxdb input plugin

The InfluxDB plugin will collect metrics on the given InfluxDB servers.

Change-Id: I23f0433f56047369ce19bbf3236f6dd7038eb06e
This commit is contained in:
Bertrand Lallau 2017-04-05 08:32:53 +02:00
parent 57fb2e735c
commit bfecaf3857

@ -24,6 +24,8 @@
[[inputs.disk]]
ignore_fs = ["tmpfs", "devtmpfs"]
[[inputs.diskio]]
[[inputs.influxdb]]
urls = [{% for host in groups['influxdb'] %}"{{ influxdb_proto }}://{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address']}}:{{ influxdb_http_port }}/debug/vars"{% if not loop.last %},{% endif %}{% endfor %}]
[[inputs.kernel]]
[[inputs.mem]]
[[inputs.processes]]