Skip to content

Commit

Permalink
fix(HostRaidDiskFailure): state label from fail to failed
Browse files Browse the repository at this point in the history
  • Loading branch information
bdossantos committed Feb 6, 2021
1 parent b58f6c5 commit caa2c34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rules/md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ groups:
expr: node_md_state{state="inactive"} > 0
for: 5m
labels:
severity: error
severity: page
annotations:
summary: "Host RAID array got inactive (instance {{ $labels.instance }})"
description: "RAID array {{ $labels.device }} is in degraded state due to one or more disks failures. Number of spare drives is insufficient to fix issue automatically.\n VALUE = {{ $value }}\n LABELS: {{ $labels }}"

- alert: HostRaidDiskFailure
expr: node_md_disks{state="fail"} > 0
expr: node_md_disks{state="failed"} > 0
for: 5m
labels:
severity: warning
severity: page
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 }}"

0 comments on commit caa2c34

Please sign in to comment.