Skip to content

Commit

Permalink
Merge pull request rook#12742 from rook/mergify/bp/release-1.12/pr-12731
Browse files Browse the repository at this point in the history
monitoring: add "for" to CephOSDDownHigh alert (backport rook#12731)
  • Loading branch information
travisn authored Aug 16, 2023
2 parents 0b80329 + 76aaca4 commit 7081f1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy/charts/rook-ceph-cluster/prometheus/localrules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ groups:
description: "{{ $value | humanize }}% or {{ with query \"count(ceph_osd_up == 0)\" }}{{ . | first | value }}{{ end }} of {{ with query \"count(ceph_osd_up)\" }}{{ . | first | value }}{{ end }} OSDs are down (>= 10%). The following OSDs are down: {{- range query \"(ceph_osd_up * on(ceph_daemon) group_left(hostname) ceph_osd_metadata) == 0\" }} - {{ .Labels.ceph_daemon }} on {{ .Labels.hostname }} {{- end }}"
summary: "More than 10% of OSDs are down"
expr: "count(ceph_osd_up == 0) / count(ceph_osd_up) * 100 >= 10"
for: "5m"
labels:
oid: "1.3.6.1.4.1.50495.1.2.1.4.1"
severity: "critical"
Expand Down

0 comments on commit 7081f1a

Please sign in to comment.