diff options
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 03c31932..d30c74ce 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)) |