]> arthur.barton.de Git - netdata.git/blob - conf.d/health.d/tcp_resets.conf
Merge pull request #1543 from tech-no-logical/tech-no-logical-patch-1
[netdata.git] / conf.d / health.d / tcp_resets.conf
1 # -----------------------------------------------------------------------------
2
3    alarm: ipv4_tcphandshake_last_collected_secs
4       on: ipv4.tcphandshake
5     calc: $now - $last_collected_t
6    units: seconds ago
7    every: 10s
8     warn: $this > (($status >= $WARNING)  ? ($update_every) : ( 5 * $update_every))
9     crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
10    delay: up 0 down 5m multiplier 1.5 max 1h
11     info: number of seconds since the last successful data collection
12       to: sysadmin
13
14 # -----------------------------------------------------------------------------
15 # tcp resets this host sends
16
17    alarm: 1m_ipv4_tcp_resets_sent
18       on: ipv4.tcphandshake
19   lookup: average -1m at -10s unaligned absolute of OutRsts
20    units: tcp resets/s
21    every: 10s
22     info: average TCP RESETS this host is sending, over the last minute
23
24    alarm: 10s_ipv4_tcp_resets_sent
25       on: ipv4.tcphandshake
26   lookup: average -10s unaligned absolute of OutRsts
27    units: tcp resets/s
28    every: 10s
29     warn: $this > ((($1m_ipv4_tcp_resets_sent < 5)?(5):($1m_ipv4_tcp_resets_sent)) * (($status >= $WARNING)  ? (1) : (4)))
30    delay: up 0 down 60m multiplier 1.2 max 2h
31     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)
32       to: silent
33
34 # -----------------------------------------------------------------------------
35 # tcp resets this host receives
36
37    alarm: 1m_ipv4_tcp_resets_received
38       on: ipv4.tcphandshake
39   lookup: average -1m at -10s unaligned absolute of AttemptFails
40    units: tcp resets/s
41    every: 10s
42     info: average TCP RESETS this host is sending, over the last minute
43
44    alarm: 10s_ipv4_tcp_resets_received
45       on: ipv4.tcphandshake
46   lookup: average -10s unaligned absolute of AttemptFails
47    units: tcp resets/s
48    every: 10s
49     warn: $this > ((($1m_ipv4_tcp_resets_received < 5)?(5):($1m_ipv4_tcp_resets_received)) * (($status >= $WARNING)  ? (1) : (4)))
50    delay: up 0 down 60m multiplier 1.2 max 2h
51     info: average TCP RESETS this host is receiving, over the last 10 seconds (this can be an indication that a service this host needs, has crashed)
52       to: silent