diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2022-05-10 12:26:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-10 12:26:49 +0300 |
commit | 88559a49b3309755c15d29af793e8a8a5b3bc11d (patch) | |
tree | 228f08f5bf6f6d45b4a26d198ef63e76bf2f6254 /health | |
parent | ed8b489b6cec5ca4c327d314ec1cd28de1b68d47 (diff) |
fix(proc.plugin): consider ZFS ARC as cache when collecting memory usage on Linux (#12847)
Diffstat (limited to 'health')
-rw-r--r-- | health/health.d/ram.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/health/health.d/ram.conf b/health/health.d/ram.conf index 6e6e3b4003..bb6817f231 100644 --- a/health/health.d/ram.conf +++ b/health/health.d/ram.conf @@ -6,7 +6,7 @@ class: Utilization type: System component: Memory - os: linux freebsd + os: freebsd hosts: * calc: ($zfs.arc_size.arcsz = nan)?(0):($zfs.arc_size.arcsz - $zfs.arc_size.min) every: 10s @@ -20,7 +20,7 @@ component: Memory component: Memory os: linux hosts: * - calc: ($used - $used_ram_to_ignore) * 100 / ($used + $cached + $free + $buffers) + calc: $used * 100 / ($used + $cached + $free + $buffers) units: % every: 10s warn: $this > (($status >= $WARNING) ? (80) : (90)) |