Skip to content
Snippets Groups Projects
Commit 81923b60 authored by ale's avatar ale
Browse files

Add a DiskUnhealthy alert for active 'pending' sectors

parent 5506e931
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,15 @@ groups:
summary: "Disk {{ $labels.disk }} on {{ $labels.host }} failed its self-test"
description: "Disk {{ $labels.disk }} on {{ $labels.host }} failed its {{ $labels.test }} SMART self-test, and might need to be replaced."
- alert: DiskUnhealthy
expr: smartmon_attribute{attr="current_pending_sector"} > 0
for: 1h
labels:
severity: warn
annotations:
summary: "Disk {{ $labels.disk }} on {{ $labels.host }} has pending sectors"
description: "Disk {{ $labels.disk }} on {{ $labels.host }} seems to be experiencing hardware errors, and might need to be replaced."
- alert: RAIDDeviceUnhealthy
expr: node_md_degraded > 0
for: 15m
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment