summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2020-04-22 09:51:39 +0300
committerGitHub <noreply@github.com>2020-04-22 09:51:39 +0300
commit51c44bb45fd6f4534fb3661f4d39093bb0386e18 (patch)
tree88ac608352e555f64f789c54e690b18b82f87531
parent11043dbe9941de6fd92d77438f6e20ff12205702 (diff)
health: fix mdstat `failed devices` alarm (#8794)
-rw-r--r--health/health.d/mdstat.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/health/health.d/mdstat.conf b/health/health.d/mdstat.conf
index a53ec7a568..3bf0e3fd6d 100644
--- a/health/health.d/mdstat.conf
+++ b/health/health.d/mdstat.conf
@@ -12,7 +12,7 @@ template: mdstat_disks
on: md.disks
units: failed devices
every: 10s
- calc: $total - $inuse
+ calc: $down
crit: $this > 0
info: Array is degraded!
to: sysadmin