Skip to content

Commit

Permalink
feat: add HostRaidDegraded
Browse files Browse the repository at this point in the history
  • Loading branch information
bdossantos committed Aug 13, 2024
1 parent 9cc5d77 commit dd25bba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rules/md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ groups:
annotations:
summary: "Host RAID disk failure (instance {{ $labels.instance }})"
description: "At least one device in RAID array on {{ $labels.instance }} failed. Array {{ $labels.md_device }} needs attention and possibly a disk swap\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
- alert: HostRaidDegraded
expr: node_md_disks_required - ignoring (state) (node_md_disks{state="active"}) > 0
for: 15m
labels:
severity: page
annotations:
summary: "Host RAID is degraded (instance {{ $labels.instance }})"
description: "Host RAID array '{{ $labels.device }}' at {{ $labels.instance }} is in degraded state due to one or more disks failures. Number of spare drives is insufficient to fix issue automatically."

0 comments on commit dd25bba

Please sign in to comment.