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