Merge "Fix Telegraf retention policy not found"

This commit is contained in:
Jenkins 2017-04-05 11:32:25 +00:00 committed by Gerrit Code Review
commit ed0f2fc819

View File

@ -14,7 +14,7 @@
[[outputs.influxdb]]
urls = [{% for host in groups['influxdb'] %}"{{ influxdb_proto }}://{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address']}}:{{ influxdb_http_port }}"{% if not loop.last %},{% endif %}{% endfor %}]
database = "telegraf" # required
retention_policy = "default"
retention_policy = "autogen"
write_consistency = "any"
timeout = "5s"
[[inputs.cpu]]