| 1 | # you can disable an alarm notification by setting the 'to' line to: silent |
| 2 | |
| 3 | template: nvme_device_critical_warnings_state |
| 4 | on: nvme.device_critical_warnings_state |
| 5 | class: Errors |
| 6 | type: System |
| 7 | component: Disk |
| 8 | lookup: max -30s unaligned |
| 9 | units: state |
| 10 | every: 10s |
| 11 | crit: $this != nan AND $this != 0 |
| 12 | delay: down 5m multiplier 1.5 max 2h |
| 13 | summary: NVMe device ${label:device} state |
| 14 | info: NVMe device ${label:device} has critical warnings |
| 15 | to: sysadmin |