Merge "Fix templates of alert rules (ceph.rules)"

This commit is contained in:
Zuul 2019-07-02 16:48:42 +00:00 committed by Gerrit Code Review
commit 0b45428f90

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