diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-12-14 16:28:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-12-14 16:28:34 +0000 |
commit | 6abff7058da6b5bd0d8be156362a42ea458d6246 (patch) | |
tree | 0bc2b2bb2dc1595e0bc281b58de3e2b0161bc9ca /health/health.d | |
parent | Releasing debian version 1.32.0-1. (diff) | |
download | netdata-6abff7058da6b5bd0d8be156362a42ea458d6246.tar.xz netdata-6abff7058da6b5bd0d8be156362a42ea458d6246.zip |
Merging upstream version 1.32.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'health/health.d')
-rw-r--r-- | health/health.d/swap.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/health/health.d/swap.conf b/health/health.d/swap.conf index 03c319320..d30c74cee 100644 --- a/health/health.d/swap.conf +++ b/health/health.d/swap.conf @@ -25,7 +25,7 @@ component: Memory component: Memory os: linux freebsd hosts: * - calc: ($used + $free) > 0 ? ($used * 100 / ($used + $free)) : 0 + calc: (($used + $free) > 0) ? ($used * 100 / ($used + $free)) : 0 units: % every: 10s warn: $this > (($status >= $WARNING) ? (80) : (90)) |