@cryptotaxi247 / netdata-1 / commits / 73f6b53d1

Fix ram level alarms (#11452)

Ilya Mashchenko committed Aug 25, 2021 at 09:40 UTC 73f6b53d1bffb5a37ed5a0f918e36003e2a3cc77
1 file changed +2 -3
health/health.d/ram.conf
+2 -3
@@ -20,8 +20,7 @@ component: Memory
20 component: Memory
21 os: linux
22 hosts: *
23 -# calc: $used * 100 / ($used + $cached + $free)
24 - calc: ($used - $used_ram_to_ignore) * 100 / ($used + $cached + $free)
23 + calc: ($used - $used_ram_to_ignore) * 100 / ($used + $cached + $free + $buffers)
24 units: %
25 every: 10s
26 warn: $this > (($status >= $WARNING) ? (80) : (90))
@@ -37,7 +36,7 @@ component: Memory
36 component: Memory
37 os: linux
38 hosts: *
40 - calc: ($avail + $system.ram.used_ram_to_ignore) * 100 / ($system.ram.used + $system.ram.cached + $system.ram.free + $system.ram.buffers)
39 + calc: $avail * 100 / ($system.ram.used + $system.ram.cached + $system.ram.free + $system.ram.buffers)
40 units: %
41 every: 10s
42 warn: $this < (($status >= $WARNING) ? (15) : (10))