@cryptotaxi247 / netdata-1 / commits / 6bcddef7f

health: convert `elasticsearch_last_collected` alarm to template (#10226)

Ilya Mashchenko committed Nov 10, 2020 at 20:13 UTC 6bcddef7f5d758a6610b89aefa0bce234d084d2b
1 file changed +5 -2
health/health.d/elasticsearch.conf
+5 -2
@@ -1,5 +1,8 @@
1 - alarm: elasticsearch_last_collected
2 - on: elasticsearch_local.cluster_health_status
1 +
2 +# make sure elasticsearch is running
3 +
4 +template: elasticsearch_last_collected
5 + on: elasticsearch.cluster_health_status
6 calc: $now - $last_collected_t
7 units: seconds ago
8 every: 10s