From 315e0143f65da3485dcbcd2f6a3172a351618aec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 28 Nov 2019 05:53:08 +0100 Subject: Adding upstream version 1.19.0. Signed-off-by: Daniel Baumann --- health/health.d/tcp_listen.conf | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'health/health.d/tcp_listen.conf') 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 -- cgit v1.2.3