From 39f214eeef6028c783971c948bf57278ee2ae618 Mon Sep 17 00:00:00 2001 From: Mateusz Matuszkowiak Date: Mon, 23 Jul 2018 12:46:34 +0200 Subject: [PATCH] Fixed WaterMark alerts regarding disk space usage Change-Id: I4211048cc6c06fc041a03c35624af45ea0817f31 Closes-Bug: PROD-21584 --- elasticsearch/meta/prometheus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elasticsearch/meta/prometheus.yml b/elasticsearch/meta/prometheus.yml index ca5a991..46ab505 100644 --- a/elasticsearch/meta/prometheus.yml +++ b/elasticsearch/meta/prometheus.yml @@ -85,7 +85,7 @@ server: severity: minor service: elasticsearch annotations: - summary: "Elasticsearch uses {%- endraw %}{{monitoring.service_failed_warning_threshold_percent*100}}%{%- raw %} of disk space" + summary: "Elasticsearch uses {%- endraw %} {{monitoring.service_disk_space_watermark_minor_threshold_percent*100}}%{%- raw %} of disk space" description: "The Elasticsearch '{{ $labels.instance }}' instance uses {{ $value }}% of disk space on the {{ $labels.host }} node for 5 minutes." {%- endraw %} ElasticsearchDiskWaterMarkMajor: @@ -97,7 +97,7 @@ server: severity: major service: elasticsearch annotations: - summary: "Elasticsearch uses {%- endraw %}{{monitoring.service_failed_critical_threshold_percent*100}}%{%- raw %} of disk space" + summary: "Elasticsearch uses {%- endraw %} {{monitoring.service_disk_space_watermark_major_threshold_percent*100}}%{%- raw %} of disk space" description: "The Elasticsearch '{{ $labels.instance }}' instance uses {{ $value }}% of disk space on the {{ $labels.host }} node for 5 minutes." {%- endraw %} {%- endif %} -- 2.32.7