summaryrefslogtreecommitdiffstats
path: root/conf.d/health.d/swap.conf
diff options
context:
space:
mode:
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 830a9af9..f920b080 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