diff options
author | Michael <krause@mpib-berlin.mpg.de> | 2019-06-13 17:21:32 +0200 |
---|---|---|
committer | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2019-06-13 17:21:32 +0200 |
commit | a0dc38437eb8529086a4f9fa60400b85d71016cb (patch) | |
tree | 8a41571a16915cb2d1d11830b7dae7cde8779f8e /health/health.d/ram.conf | |
parent | ca69df172ff09d8e46cc751e6aeec1ee489584b1 (diff) |
Fix variable namespace in memory health check (#6261)
$used_ram_to_ignore was empty in mem.available namespace
Diffstat (limited to 'health/health.d/ram.conf')
-rw-r--r-- | health/health.d/ram.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/health/health.d/ram.conf b/health/health.d/ram.conf index 93883f73bf..4e41bb496d 100644 --- a/health/health.d/ram.conf +++ b/health/health.d/ram.conf @@ -27,7 +27,7 @@ on: mem.available os: linux hosts: * - calc: ($avail + $used_ram_to_ignore) * 100 / ($system.ram.used + $system.ram.cached + $system.ram.free + $system.ram.buffers) + calc: ($avail + $system.ram.used_ram_to_ignore) * 100 / ($system.ram.used + $system.ram.cached + $system.ram.free + $system.ram.buffers) units: % every: 10s warn: $this < (($status >= $WARNING) ? (15) : (10)) |