1 alarm: elasticsearch_last_collected
2 on: elasticsearch_local.cluster_health_status
3 calc: $now - $last_collected_t
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