Merge "Fix Telegraf retention policy not found"
This commit is contained in:
commit
ed0f2fc819
@ -14,7 +14,7 @@
|
|||||||
[[outputs.influxdb]]
|
[[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 %}]
|
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
|
database = "telegraf" # required
|
||||||
retention_policy = "default"
|
retention_policy = "autogen"
|
||||||
write_consistency = "any"
|
write_consistency = "any"
|
||||||
timeout = "5s"
|
timeout = "5s"
|
||||||
[[inputs.cpu]]
|
[[inputs.cpu]]
|
||||||
|
Loading…
Reference in New Issue
Block a user