diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2018-07-18 01:31:12 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2018-07-18 01:31:12 +0300 |
commit | b04d0bc691c5e675e58c7e6ec51dec71d51d3165 (patch) | |
tree | 4b1aa80e259af42e2a3d632fa54b7cf34663d582 /conf.d | |
parent | 546ab2539b57a6079a50b6730f945a34254f234c (diff) |
relaxed network alarms
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/health.d/tcp_listen.conf | 5 | ||||
-rw-r--r-- | conf.d/health.d/udp_errors.conf | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/conf.d/health.d/tcp_listen.conf b/conf.d/health.d/tcp_listen.conf index 957964ae47..1bbb8eed8f 100644 --- a/conf.d/health.d/tcp_listen.conf +++ b/conf.d/health.d/tcp_listen.conf @@ -20,8 +20,9 @@ lookup: sum -60s unaligned absolute of ListenDrops units: drops every: 10s - crit: $this > 0 + warn: $this > 0 + crit: $this > (($status == $CRITICAL) ? (0) : (60)) delay: up 0 down 5m multiplier 1.5 max 1h - info: the number of TCP listen socket drops during the last minute + info: the number of TCP listen socket drops during the last minute (includes bogus packets received) to: sysadmin diff --git a/conf.d/health.d/udp_errors.conf b/conf.d/health.d/udp_errors.conf index 382b39658e..5140228f56 100644 --- a/conf.d/health.d/udp_errors.conf +++ b/conf.d/health.d/udp_errors.conf @@ -27,7 +27,7 @@ units: errors every: 10s warn: $this > 0 - crit: $this > 100 + crit: $this > (($status == $CRITICAL) ? (0) : (100)) info: number of UDP receive buffer errors during the last minute delay: up 0 down 60m multiplier 1.2 max 2h to: sysadmin @@ -43,7 +43,7 @@ units: errors every: 10s warn: $this > 0 - crit: $this > 100 + crit: $this > (($status == $CRITICAL) ? (0) : (100)) info: number of UDP send buffer errors during the last minute delay: up 0 down 60m multiplier 1.2 max 2h to: sysadmin |