summaryrefslogtreecommitdiffstats
path: root/health/health.d/tcp_listen.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/tcp_listen.conf')
-rw-r--r--health/health.d/tcp_listen.conf31
1 files changed, 16 insertions, 15 deletions
diff --git a/health/health.d/tcp_listen.conf b/health/health.d/tcp_listen.conf
index 552930ab7..3b3072577 100644
--- a/health/health.d/tcp_listen.conf
+++ b/health/health.d/tcp_listen.conf
@@ -22,12 +22,13 @@
on: ip.tcp_accept_queue
os: linux
hosts: *
- lookup: sum -60s unaligned absolute of ListenOverflows
+ lookup: average -60s unaligned absolute of ListenOverflows
units: overflows
every: 10s
- crit: $this > 0
+ warn: $this > 1
+ crit: $this > (($status == $CRITICAL) ? (1) : (5))
delay: up 0 down 5m multiplier 1.5 max 1h
- info: the number of times the TCP accept queue of the kernel overflown, during the last minute
+ info: the average number of times the TCP accept queue of the kernel overflown, during the last minute
to: sysadmin
# THIS IS TOO GENERIC
@@ -36,13 +37,13 @@
on: ip.tcp_accept_queue
os: linux
hosts: *
- lookup: sum -60s unaligned absolute of ListenDrops
+ lookup: average -60s unaligned absolute of ListenDrops
units: drops
every: 10s
-# warn: $this > 0
- crit: $this > (($status == $CRITICAL) ? (0) : (150))
+ warn: $this > 1
+ crit: $this > (($status == $CRITICAL) ? (1) : (5))
delay: up 0 down 5m multiplier 1.5 max 1h
- info: the number of times the TCP accept queue of the kernel dropped packets, during the last minute (includes bogus packets received)
+ info: the average number of times the TCP accept queue of the kernel dropped packets, during the last minute (includes bogus packets received)
to: sysadmin
@@ -58,12 +59,12 @@
on: ip.tcp_syn_queue
os: linux
hosts: *
- lookup: sum -60s unaligned absolute of TCPReqQFullDrop
+ lookup: average -60s unaligned absolute of TCPReqQFullDrop
units: drops
every: 10s
- warn: $this > 0
- crit: $this > (($status == $CRITICAL) ? (0) : (60))
- delay: up 0 down 5m multiplier 1.5 max 1h
+ warn: $this > 1
+ crit: $this > (($status == $CRITICAL) ? (0) : (5))
+ delay: up 10 down 5m multiplier 1.5 max 1h
info: the number of times the TCP SYN queue of the kernel was full and dropped packets, during the last minute
to: sysadmin
@@ -71,12 +72,12 @@
on: ip.tcp_syn_queue
os: linux
hosts: *
- lookup: sum -60s unaligned absolute of TCPReqQFullDoCookies
+ lookup: average -60s unaligned absolute of TCPReqQFullDoCookies
units: cookies
every: 10s
- warn: $this > 0
- crit: $this > (($status == $CRITICAL) ? (0) : (60))
- delay: up 0 down 5m multiplier 1.5 max 1h
+ warn: $this > 1
+ crit: $this > (($status == $CRITICAL) ? (0) : (5))
+ delay: up 10 down 5m multiplier 1.5 max 1h
info: the number of times the TCP SYN queue of the kernel was full and sent SYN cookies, during the last minute
to: sysadmin