From: Mateusz Matuszkowiak Date: Mon, 23 Jul 2018 10:46:34 +0000 (+0200) Subject: Fixed WaterMark alerts regarding disk space usage X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Felasticsearch.git;a=commitdiff_plain;h=39f214eeef6028c783971c948bf57278ee2ae618 Fixed WaterMark alerts regarding disk space usage Change-Id: I4211048cc6c06fc041a03c35624af45ea0817f31 Closes-Bug: PROD-21584 --- 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 %}