@cryptotaxi247 / netdata-1 / commits / 24141a195

fixed ram_available alarm

Costa Tsaousis (ktsaou) committed Jan 7, 2018 at 12:48 UTC 24141a1950341a392d9ab34a47cf3ad942f302b9
1 file changed +2 -2
conf.d/health.d/ram.conf
+2 -2
@@ -27,11 +27,11 @@
27 on: mem.available
28 os: linux
29 hosts: *
30 - calc: ($avail + $used_ram_to_ignore) * 100 / ($system.ram.used - $used_ram_to_ignore + $system.ram.cached + $system.ram.free)
30 + calc: ($avail + $used_ram_to_ignore) * 100 / ($system.ram.used + $system.ram.cached + $system.ram.free + $system.ram.buffers)
31 units: %
32 every: 10s
33 warn: $this < (($status >= $WARNING) ? ( 5) : (10))
34 crit: $this < (($status == $CRITICAL) ? (10) : ( 5))
35 delay: down 15m multiplier 1.5 max 1h
36 - info: estimated amount of RAM available for processes
36 + info: estimated amount of RAM available for userspace processes, without causing swapping
37 to: sysadmin