1 {%- if pillar.elasticsearch.server is defined %}
10 service: elasticsearch
12 summary: 'Elasticsearch service down'
13 description: 'Elasticsearch service is down on node {{ $labels.host }}'
14 ElasticsearchClusterHealthStatusYellow:
16 max_over_time(elasticsearch_cluster_health_status[5m]) == 2
19 service: elasticsearch
21 summary: Elasticsearch cluster status is YELLOW
23 The Elasticsearch cluster status is YELLOW for the last 5 minutes.
24 ElasticsearchClusterHealthStatusRed:
26 max_over_time(elasticsearch_cluster_health_status[5m]) == 3
29 service: elasticsearch
31 summary: 'Elasticsearch cluster status is RED'
33 The Elasticsearch cluster status is RED for the last 5 minutes.
34 ElasticsearchClusterDiskLowWaterMark:
36 (max(elasticsearch_fs_total_total_in_bytes) by (host, instance) - max(elasticsearch_fs_total_available_in_bytes) by (host, instance)) / max(elasticsearch_fs_total_total_in_bytes) by (host, instance) * 100.0 >= 85
40 service: elasticsearch
42 summary: 'Elasticsearch low disk watermark [85%] exceeded on node {{ $labels.host}} instance {{ $labels.instance }}'
44 Elasticsearch will not allocate new shards to node {{ $labels.host }}
46 ElasticsearchClusterDiskHighWaterMark:
48 (max(elasticsearch_fs_total_total_in_bytes) by (host, instance) - max(elasticsearch_fs_total_available_in_bytes) by (host, instance)) / max(elasticsearch_fs_total_total_in_bytes) by (host, instance) * 100.0 >= 90
51 summary: 'Elasticsearch high disk watermark [90%] exceeded on node {{ $labels.host}} instance {{ $labels.instance }}'
53 Elasticsearch will not allocate new shards to node {{ $labels.host }} and will attempt to relocate shards to another node
56 service: elasticsearch