From fae650722f7db1e0f98b2d5de24c83679a9a2b12 Mon Sep 17 00:00:00 2001 From: sungil Date: Tue, 26 Feb 2019 04:38:09 +0000 Subject: [PATCH] Fix templates of alert rules (ceph.rules) This PS fix templates which generate errors on alert-manager. Change-Id: I4201cc353848a8f121c2a755a93c1b462d1ab816 --- prometheus/values.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prometheus/values.yaml b/prometheus/values.yaml index 62036d4ea..6c761377e 100644 --- a/prometheus/values.yaml +++ b/prometheus/values.yaml @@ -1890,16 +1890,16 @@ conf: labels: severity: critical annotations: - description: 'ceph OSD {{ $ceph_daemon }} is down in instance {{ $instance }}' - summary: 'ceph OSD {{ $ceph_daemon }} is down in instance {{ $instance }}' + description: 'ceph OSD {{ $labels.ceph_daemon }} is down in instance {{ $labels.instance }}' + summary: 'ceph OSD {{ $labels.ceph_daemon }} is down in instance {{ $labels.instance }}' - alert: ceph_osd_out expr: ceph_osd_in == 0 for: 5m labels: severity: page annotations: - description: 'ceph OSD {{ $ceph_daemon }} is out in instance {{ $instance }}' - summary: 'ceph OSD {{ $ceph_daemon }} is out in instance {{ $instance }}' + description: 'ceph OSD {{ $labels.ceph_daemon }} is out in instance {{ $labels.instance }}' + summary: 'ceph OSD {{ $labels.ceph_daemon }} is out in instance {{ $labels.instance }}' fluentd: groups: - name: fluentd.rules