Code Review
/
salt-formulas
/
elasticsearch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add SSL support to Elasticsearch
[salt-formulas/elasticsearch.git]
/
elasticsearch
/
meta
/
telegraf.yml
diff --git
a/elasticsearch/meta/telegraf.yml
b/elasticsearch/meta/telegraf.yml
index 6ccac3f5886d98ed8d4f8aadb223b1f9cb103b08..2fc31669a225e42c610bd3a660165f05f9d05b6a 100644
(file)
--- a/
elasticsearch/meta/telegraf.yml
+++ b/
elasticsearch/meta/telegraf.yml
@@
-13,6
+13,12
@@
agent:
cluster_health: false
cluster_stats: true
local: true
+ exec:
+ commands:
+ - "/usr/local/bin/elasticsearch_check_read_only.sh"
+ interval: "30s"
+ timeout: "15s"
+ data_format: "json"
{%- endif %}
{%- if client.get('enabled', False) %}