Use this when deciding which storage events must alert someone.
Alerts
Storage alerts notify on failed or degraded disks, pool or RAID degradation, path loss, controller faults, high latency, low free space, failed scrubs and expiring snapshots. Route them to someone who acts.
1. Storage alerts: capacity, latency, health, paths, pools, backups.
2. Route to storage owners.
3. Runbooks per alert.
4. Avoid noise.
5. Test delivery.
metric/event → rule → notification → runbook
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Alerts without owners.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Degraded redundancy must alert immediately.
- Capacity alerts should fire well before full.
- Every alert needs an owner and a runbook.
amtool alert query / monitoring system— active alertsalert rules review— coveragetest alert— delivery
ReferenceHow it works1 section · depth on demand
Routing
Send storage alerts to the team that can act (storage/virtualization on-call), include the affected volume/host and a runbook link, and suppress duplicates during known maintenance.
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
Turn SMART into alerts with smartd
smartd reads /etc/smartd.conf (or /etc/smartmontools/smartd.conf) and checks disks periodically. smartd.conf(5) documents the directives:
# /etc/smartd.conf
DEVICESCAN -a -o on -S on -n standby,q \
-s (S/../.././02|L/../../6/03) \
-W 4,45,55 -R 5! -C 197+ -U 198+ \
-m storage-alerts@example.com -M diminishing
| Directive | Documented meaning |
|---|---|
DEVICESCAN | Scan for all devices and ignore the remaining lines |
-a | Full monitoring (health, attributes, logs, pending/offline sectors) |
-s REGEXP | Self-test schedule: S/../.././02 short daily at 02, L/../../6/03 long on Saturdays at 03 |
-W DIFF,INFO,CRIT | Temperature change, informational and critical limits |
-R 5! | Report raw-value changes of attribute 5 as critical |
-C 197+ / -U 198+ | Report pending / offline uncorrectable counts, only increases |
-m ADDR | Mail warnings to the address |
-M exec PATH / diminishing | Run a script instead of mail / repeat alerts less often |
# systemctl enable --now smartd
# smartd -q onecheck # one check cycle, then exit
# journalctl -u smartd --since today
Alert design
| Alert | Why |
|---|---|
| Health FAILED | Immediate replacement |
| Reallocated, pending or uncorrectable increase | Early media failure |
| Self-test failure | Unreadable sectors located |
| Temperature critical | Cooling problem, often affects many disks |
-M test sends a test message at startup. Use it once to prove the mail path works, because an alert that never arrives is the common failure.
Documented example, not captured output.
How it works
Storage alerts should cover capacity, latency, health (disks, controllers, paths, pools) and replication, each with a threshold, severity and owner.
Reference
| Alert | Threshold |
|---|---|
| Pool/volume used | 80 % warn, 90 % critical |
| Latency | Above baseline × 2 for 5 min |
| Path lost | Any |
| Disk predictive failure | Any |
| Replication lag | Above RPO |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Storage Monitoring → Alerts. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://sysstat.github.io/ · confidence 94%