Skip to content

Commit

Permalink
monitoring: fix 'CephMonQuorumLost' alert
Browse files Browse the repository at this point in the history
Only the 'Running' mons with result value of '1' should be counted.

Signed-off-by: Arun Kumar Mohan <amohan@redhat.com>
  • Loading branch information
aruniiird committed Nov 2, 2021
1 parent 7375679 commit af44e5c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -90,7 +90,7 @@ spec:
severity_level: critical
storage_type: ceph
expr: |
count(kube_pod_status_phase{pod=~"rook-ceph-mon-.*", phase=~"Running|running"}) by (namespace) < 2
count(kube_pod_status_phase{pod=~"rook-ceph-mon-.*", phase=~"Running|running"} == 1) by (namespace) < 2
for: 5m
labels:
severity: critical
Expand Down

0 comments on commit af44e5c

Please sign in to comment.