@cryptotaxi247 / netdata-1 / commits / 7333b1629

elasticsearch plugin: add last collected alarm

Ilya committed Jan 21, 2017 at 13:46 UTC 7333b16299acf65e55ecd23078649bb903133cea
1 file changed +9
conf.d/health.d/elasticsearch.conf new
+9
@@ -0,0 +1,9 @@
1 + alarm: elasticsearch_last_collected
2 + on: elasticsearch_local.cluster_health_status
3 + calc: $now - $last_collected_t
4 + units: seconds ago
5 + every: 10s
6 + warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
7 + crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
8 + info: number of seconds since the last successful data collection
9 + to: sysadmin