Common Module - Fix Telegraf ES input for nodes

This commit is contained in:
Mike Reeves
2018-11-27 12:33:08 -05:00
parent 154e1e6bcc
commit fbd5c249b4

View File

@@ -574,7 +574,7 @@
# # servers = ["http://user:pass@localhost:9200"]
servers = ["http://{{ MASTER }}:9200"]
{% endif %}
{% if grains['role'] == 'so-node'}
{% if grains['role'] == 'so-node' %}
[[inputs.elasticsearch]]
servers = ["http://{{ NODEIP }}:9200"]
{% endif %}