Skip to content

Commit

Permalink
Merge pull request #8658 from rook/mergify/bp/release-1.7/pr-8652
Browse files Browse the repository at this point in the history
ceph: fix CephMonQuorumAtRisk Alert Query (backport #8652)
  • Loading branch information
leseb committed Sep 8, 2021
2 parents 1de9092 + c6556db commit 2eeb92e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ spec:
severity_level: error
storage_type: ceph
expr: |
count(ceph_mon_quorum_status{job="rook-ceph-mgr"} == 1) <= ((count(ceph_mon_metadata{job="rook-ceph-mgr"}) % 2) + 1)
count(ceph_mon_quorum_status{job="rook-ceph-mgr"} == 1) <= (floor(count(ceph_mon_metadata{job="rook-ceph-mgr"}) / 2) + 1)
for: 15m
labels:
severity: critical
Expand Down Expand Up @@ -349,4 +349,5 @@ spec:
(ceph_pool_stored_raw * on (pool_id) group_left(name)ceph_pool_metadata) / ((ceph_pool_quota_bytes * on (pool_id) group_left(name)ceph_pool_metadata) > 0) > 0.90
for: 1m
labels:
severity: critical
severity: critical

0 comments on commit 2eeb92e

Please sign in to comment.