Fix templates of alert rules (ceph.rules)

This PS fix templates which generate errors on alert-manager.

Change-Id: I4201cc353848a8f121c2a755a93c1b462d1ab816
This commit is contained in:
sungil 2019-02-26 04:38:09 +00:00 committed by Tin Lam
parent 3384d68c78
commit fae650722f

View File

@ -1890,16 +1890,16 @@ conf:
labels: labels:
severity: critical severity: critical
annotations: annotations:
description: 'ceph OSD {{ $ceph_daemon }} is down in instance {{ $instance }}' description: 'ceph OSD {{ $labels.ceph_daemon }} is down in instance {{ $labels.instance }}'
summary: 'ceph OSD {{ $ceph_daemon }} is down in instance {{ $instance }}' summary: 'ceph OSD {{ $labels.ceph_daemon }} is down in instance {{ $labels.instance }}'
- alert: ceph_osd_out - alert: ceph_osd_out
expr: ceph_osd_in == 0 expr: ceph_osd_in == 0
for: 5m for: 5m
labels: labels:
severity: page severity: page
annotations: annotations:
description: 'ceph OSD {{ $ceph_daemon }} is out in instance {{ $instance }}' description: 'ceph OSD {{ $labels.ceph_daemon }} is out in instance {{ $labels.instance }}'
summary: 'ceph OSD {{ $ceph_daemon }} is out in instance {{ $instance }}' summary: 'ceph OSD {{ $labels.ceph_daemon }} is out in instance {{ $labels.instance }}'
fluentd: fluentd:
groups: groups:
- name: fluentd.rules - name: fluentd.rules