summaryrefslogtreecommitdiffstats
path: root/health/health.d/nvme.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--health/health.d/nvme.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/health/health.d/nvme.conf b/health/health.d/nvme.conf
new file mode 100644
index 00000000..aea402e8
--- /dev/null
+++ b/health/health.d/nvme.conf
@@ -0,0 +1,15 @@
+# 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