make system.swap alarms send notifications after 30 seconds, to work around kernel bug that reports wrong swap free values; fixes #3380
Costa Tsaousis (ktsaou) committed
Feb 2, 2018 at 22:57 UTC
b4f1d8318cc20c4980f8aba84cc0c5266baa6e3c
1 file changed
+2
-2
conf.d/health.d/swap.conf
+2
-2
@@ -25,7 +25,7 @@
25
every: 10s
26
warn: $this > (($status >= $WARNING) ? (15) : (20))
27
crit: $this > (($status == $CRITICAL) ? (40) : (50))
28
- delay: up 0 down 15m multiplier 1.5 max 1h
28
+ delay: up 30s down 15m multiplier 1.5 max 1h
29
info: the swap memory used, as a percentage of the system RAM
30
to: sysadmin
31
@@ -38,6 +38,6 @@
38
every: 10s
39
warn: $this > (($status >= $WARNING) ? (80) : (90))
40
crit: $this > (($status == $CRITICAL) ? (90) : (98))
41
- delay: up 0 down 15m multiplier 1.5 max 1h
41
+ delay: up 30s down 15m multiplier 1.5 max 1h
42
info: the percentage of swap memory used
43
to: sysadmin