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:
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