summaryrefslogtreecommitdiffstats
path: root/conf.d/health.d/tcp_listen.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/health.d/tcp_listen.conf')
-rw-r--r--conf.d/health.d/tcp_listen.conf27
1 files changed, 27 insertions, 0 deletions
diff --git a/conf.d/health.d/tcp_listen.conf b/conf.d/health.d/tcp_listen.conf
new file mode 100644
index 000000000..957964ae4
--- /dev/null
+++ b/conf.d/health.d/tcp_listen.conf
@@ -0,0 +1,27 @@
+# -----------------------------------------------------------------------------
+# tcp listen sockets issues
+
+ alarm: 1m_ipv4_tcp_listen_overflows
+ on: ipv4.tcplistenissues
+ os: linux freebsd
+ hosts: *
+ lookup: sum -60s unaligned absolute of ListenOverflows
+ units: overflows
+ every: 10s
+ crit: $this > 0
+ delay: up 0 down 5m multiplier 1.5 max 1h
+ info: the number of TCP listen socket overflows during the last minute
+ to: sysadmin
+
+ alarm: 1m_ipv4_tcp_listen_drops
+ on: ipv4.tcplistenissues
+ os: linux
+ hosts: *
+ lookup: sum -60s unaligned absolute of ListenDrops
+ units: drops
+ every: 10s
+ crit: $this > 0
+ delay: up 0 down 5m multiplier 1.5 max 1h
+ info: the number of TCP listen socket drops during the last minute
+ to: sysadmin
+