summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2022-11-07 23:45:35 +0200
committerGitHub <noreply@github.com>2022-11-07 23:45:35 +0200
commit3841691b650850f8c2b690053e8d8f7e1e4d5bc5 (patch)
treec95f4e6799350d69ed684d54b057d12c519171c5 /health
parentefc5932b13d4d28aa610c9a18af70e338b1f9665 (diff)
bump go.d.plugin to v0.43.0 (#13954)
Diffstat (limited to 'health')
-rw-r--r--health/Makefile.am1
-rw-r--r--health/health.d/nvme.conf15
2 files changed, 16 insertions, 0 deletions
diff --git a/health/Makefile.am b/health/Makefile.am
index c5dcb844bc..7c8d7f9d2f 100644
--- a/health/Makefile.am
+++ b/health/Makefile.am
@@ -65,6 +65,7 @@ dist_healthconfig_DATA = \
health.d/mysql.conf \
health.d/net.conf \
health.d/netfilter.conf \
+ health.d/nvme.conf \
health.d/nut.conf \
health.d/pihole.conf \
health.d/ping.conf \
diff --git a/health/health.d/nvme.conf b/health/health.d/nvme.conf
new file mode 100644
index 0000000000..5f729d52bc
--- /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
+ families: *
+ 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
+ info: NVMe device $label:device has critical warnings
+ to: sysadmin