summary: "Elasticsearch cluster status is RED"
description: "The Elasticsearch cluster status is RED for 2 minutes."
{%- endraw %}
+ ElasticsearchIndicesInReadOnlyMode:
+ if: >-
+ exec_elasticsearch_indices_read_only_allow_delete > 0
+ {%- raw %}
+ for: 2m
+ labels:
+ severity: critical
+ service: elasticsearch
+ annotations:
+ summary: "Elasticsearch indices are read-only"
+ description: "The Elasticsearch service has indices in read-only mode for 2 minutes."
+ {%- endraw %}
{%- endif %}
{%- if server.get('enabled', False) %}
ElasticsearchServiceDown: