summaryrefslogtreecommitdiffstats
path: root/conf.d/health.d/swap.conf
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2018-03-27 21:28:21 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2018-03-27 21:28:21 +0000
commitd4dd00f58a502c9ca4b63e36ce6bc7a9945dc63c (patch)
treefaac99f51f182bb8c0a03e95e393d421ac9ddf42 /conf.d/health.d/swap.conf
parentNew upstream version 1.9.0+dfsg (diff)
downloadnetdata-d4dd00f58a502c9ca4b63e36ce6bc7a9945dc63c.tar.xz
netdata-d4dd00f58a502c9ca4b63e36ce6bc7a9945dc63c.zip
New upstream version 1.10.0+dfsgupstream/1.10.0+dfsg
Diffstat (limited to 'conf.d/health.d/swap.conf')
-rw-r--r--conf.d/health.d/swap.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/conf.d/health.d/swap.conf b/conf.d/health.d/swap.conf
index 830a9af95..f920b0807 100644
--- a/conf.d/health.d/swap.conf
+++ b/conf.d/health.d/swap.conf
@@ -3,7 +3,7 @@
alarm: 30min_ram_swapped_out
on: system.swapio
- os: linux
+ os: linux freebsd
hosts: *
lookup: sum -30m unaligned absolute of out
# we have to convert KB to MB by dividing $this (i.e. the result of the lookup) with 1024
@@ -25,19 +25,19 @@
every: 10s
warn: $this > (($status >= $WARNING) ? (15) : (20))
crit: $this > (($status == $CRITICAL) ? (40) : (50))
- delay: up 0 down 15m multiplier 1.5 max 1h
+ delay: up 30s down 15m multiplier 1.5 max 1h
info: the swap memory used, as a percentage of the system RAM
to: sysadmin
alarm: used_swap
on: system.swap
- os: linux
+ os: linux freebsd
hosts: *
calc: $used * 100 / ( $used + $free )
units: %
every: 10s
warn: $this > (($status >= $WARNING) ? (80) : (90))
crit: $this > (($status == $CRITICAL) ? (90) : (98))
- delay: up 0 down 15m multiplier 1.5 max 1h
+ delay: up 30s down 15m multiplier 1.5 max 1h
info: the percentage of swap memory used
to: sysadmin