@cryptotaxi247 / netdata-1 / commits / 8662c5609

fix swap_used alarm calc (#11672)

Ilya Mashchenko committed Oct 18, 2021 at 13:57 UTC 8662c5609026a056dab847b18e6eb125b099a740
1 file changed +1 -1
health/health.d/swap.conf
+1 -1
@@ -25,7 +25,7 @@ component: Memory
25 component: Memory
26 os: linux freebsd
27 hosts: *
28 - calc: $used * 100 / ( $used + $free )
28 + calc: ($used + $free) > 0 ? ($used * 100 / ($used + $free)) : 0
29 units: %
30 every: 10s
31 warn: $this > (($status >= $WARNING) ? (80) : (90))