]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
monitoring: fix indentation of ceph default alerts 31711/head
authorPatrick Seidensal <pseidensal@suse.com>
Mon, 18 Nov 2019 11:40:55 +0000 (12:40 +0100)
committerPatrick Seidensal <pseidensal@suse.com>
Mon, 18 Nov 2019 11:40:55 +0000 (12:40 +0100)
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
monitoring/prometheus/alerts/ceph_default_alerts.yml

index 32f1c6dac18dfb2283448e9f3addf2bb66844173..96e74fe12bcdf9996a83a40cc2b4fb0631973e5b 100644 (file)
@@ -66,8 +66,8 @@ groups:
           oid: 1.3.6.1.4.1.50495.15.1.2.4.4
         annotations:
           description: >
-              OSD {{ $labels.ceph_daemon }} was marked down and back up at least once a
-              minute for 5 minutes.
+            OSD {{ $labels.ceph_daemon }} was marked down and back up at least once a
+            minute for 5 minutes.
       # alert on high deviation from average PG count
       - alert: high pg count deviation
         expr: abs(((ceph_osd_numpg > 0) - on (job) group_left avg(ceph_osd_numpg > 0) by (job)) / on (job) group_left avg(ceph_osd_numpg > 0) by (job)) > 0.35
@@ -78,8 +78,8 @@ groups:
           oid: 1.3.6.1.4.1.50495.15.1.2.4.5
         annotations:
           description: >
-              OSD {{ $labels.ceph_daemon }} deviates by more than 30% from
-              average PG count.
+            OSD {{ $labels.ceph_daemon }} deviates by more than 30% from
+            average PG count.
       # alert on high commit latency...but how high is too high
   - name: mds
     rules: