]> arthur.barton.de Git - netdata.git/blob - conf.d/health.d/tcp_resets.conf
dns_query_time plugin: replace "." with "_" in dimensions
[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 options: no-clear-notification
32     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)
33       to: sysadmin
34
35 # -----------------------------------------------------------------------------
36 # tcp resets this host receives
37
38    alarm: 1m_ipv4_tcp_resets_received
39       on: ipv4.tcphandshake
40   lookup: average -1m at -10s unaligned absolute of AttemptFails
41    units: tcp resets/s
42    every: 10s
43     info: average TCP RESETS this host is sending, over the last minute
44
45    alarm: 10s_ipv4_tcp_resets_received
46       on: ipv4.tcphandshake
47   lookup: average -10s unaligned absolute of AttemptFails
48    units: tcp resets/s
49    every: 10s
50     warn: $this > ((($1m_ipv4_tcp_resets_received < 5)?(5):($1m_ipv4_tcp_resets_received)) * (($status >= $WARNING)  ? (1) : (4)))
51    delay: up 0 down 60m multiplier 1.2 max 2h
52 options: no-clear-notification
53     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)
54       to: sysadmin