Update and add FreeBSD template to tcp_resets.conf
Jacob Ayres committed
Jan 24, 2018 at 22:30 UTC
f476a23302aa6d942a617cb1bbbb15e5d8a611ed
1 file changed
+27
-3
conf.d/health.d/tcp_resets.conf
+27
-3
@@ -5,7 +5,7 @@
5
6
alarm: ipv4_tcphandshake_last_collected_secs
7
on: ipv4.tcphandshake
8
- os: linux
8
+ os: linux freebsd
9
hosts: *
10
calc: $now - $last_collected_t
11
units: seconds ago
@@ -41,12 +41,36 @@
41
info: average TCP RESETS this host is sending, over the last 10 seconds (this can be an indication that a port scan is made, or that a service running on this host has crashed; clear notification for this alarm will not be sent)
42
to: sysadmin
43
44
+
45
+ ## FreeBSD
46
+ alarm: 1m_ipv4_tcp_resets_sent
47
+ on: ipv4.tcphandshake
48
+ os: freebsd
49
+ hosts: *
50
+ lookup: average -1m at -10s unaligned absolute of EstabResets
51
+ units: tcp resets/s
52
+ every: 10s
53
+ info: average TCP RESETS this host is sending, over the last minute
54
+
55
+ alarm: 10s_ipv4_tcp_resets_sent
56
+ on: ipv4.tcphandshake
57
+ os: freebsd
58
+ hosts: *
59
+ lookup: average -10s unaligned absolute of EstabResets
60
+ units: tcp resets/s
61
+ every: 10s
62
+ warn: $this > ((($1m_ipv4_tcp_resets_sent < 5)?(5):($1m_ipv4_tcp_resets_sent)) * (($status >= $WARNING) ? (1) : (20)))
63
+ delay: up 0 down 60m multiplier 1.2 max 2h
64
+ options: no-clear-notification
65
+ info: average TCP RESETS this host is sending, over the last 10 seconds (this can be an indication that a port scan is made, or that a service running on this host has crashed; clear notification for this alarm will not be sent)
66
+ to: sysadmin
67
+
68
# -----------------------------------------------------------------------------
69
# tcp resets this host receives
70
71
alarm: 1m_ipv4_tcp_resets_received
72
on: ipv4.tcphandshake
49
- os: linux
73
+ os: linux freebsd
74
hosts: *
75
lookup: average -1m at -10s unaligned absolute of AttemptFails
76
units: tcp resets/s
@@ -55,7 +79,7 @@
79
80
alarm: 10s_ipv4_tcp_resets_received
81
on: ipv4.tcphandshake
58
- os: linux
82
+ os: linux freebsd
83
hosts: *
84
lookup: average -10s unaligned absolute of AttemptFails
85
units: tcp resets/s