diff options
author | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2019-02-08 12:24:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-08 12:24:32 +0100 |
commit | f49ca59b246e6ea3c06a53fec93a7c6759619138 (patch) | |
tree | ccc128bb017b935ed969001e9129fd386b5d2089 /health | |
parent | 2ecc0ab663a9a69ae1c836dea1e38aeba003350b (diff) |
fix warning condition for mem.available (#5353)
* fix warning condition for mem.available
* Fix system.ram ram_available as well
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 4e437322cd..93883f73bf 100644 --- a/health/health.d/ram.conf +++ b/health/health.d/ram.conf @@ -30,7 +30,7 @@ calc: ($avail + $used_ram_to_ignore) * 100 / ($system.ram.used + $system.ram.cached + $system.ram.free + $system.ram.buffers) units: % every: 10s - warn: $this < (($status >= $WARNING) ? ( 5) : (10)) + warn: $this < (($status >= $WARNING) ? (15) : (10)) crit: $this < (($status == $CRITICAL) ? (10) : ( 5)) delay: down 15m multiplier 1.5 max 1h info: estimated amount of RAM available for userspace processes, without causing swapping @@ -57,7 +57,7 @@ delay: down 15m multiplier 1.5 max 1h calc: ($free + $inactive + $used_ram_to_ignore) * 100 / ($free + $active + $inactive + $wired + $cache + $laundry + $buffers) units: % every: 10s - warn: $this < (($status >= $WARNING) ? ( 5) : (10)) + warn: $this < (($status >= $WARNING) ? (15) : (10)) crit: $this < (($status == $CRITICAL) ? (10) : ( 5)) delay: down 15m multiplier 1.5 max 1h info: estimated amount of RAM available for userspace processes, without causing swapping |