Skip to content

Commit

Permalink
Merge pull request #8986 from rook/mergify/bp/release-1.7/pr-8985
Browse files Browse the repository at this point in the history
ceph: fixing the queries for alerts 'CephMgrIsAbsent' and 'CephMgrIsMissingReplicas' (backport #8985)
  • Loading branch information
leseb committed Oct 18, 2021
2 parents 3d7ddaa + 5e18f95 commit 5c32795
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -42,7 +42,7 @@ spec:
severity_level: critical
storage_type: ceph
expr: |
up{job="rook-ceph-mgr"} == 0
label_replace((up{job="rook-ceph-mgr"} == 0 or absent(up{job="rook-ceph-mgr"})), "namespace", "openshift-storage", "", "")
for: 5m
labels:
severity: critical
Expand All @@ -53,7 +53,7 @@ spec:
severity_level: warning
storage_type: ceph
expr: |
sum(up{job="rook-ceph-mgr"}) by (namespace) < 1
sum(kube_deployment_spec_replicas{deployment=~"rook-ceph-mgr-.*"}) by (namespace) < 1
for: 5m
labels:
severity: warning
Expand Down

0 comments on commit 5c32795

Please sign in to comment.