diff options
Diffstat (limited to 'health')
-rw-r--r-- | health/health.d/elasticsearch.conf | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/health/health.d/elasticsearch.conf b/health/health.d/elasticsearch.conf index dffd40965f..f4423449f6 100644 --- a/health/health.d/elasticsearch.conf +++ b/health/health.d/elasticsearch.conf @@ -1,5 +1,8 @@ - alarm: elasticsearch_last_collected - on: elasticsearch_local.cluster_health_status + +# make sure elasticsearch is running + +template: elasticsearch_last_collected + on: elasticsearch.cluster_health_status calc: $now - $last_collected_t units: seconds ago every: 10s |