added alarms for common UDP buffer errors
Costa Tsaousis (ktsaou) committed
Jan 14, 2017 at 02:41 UTC
4d08e3142c8008c518bb0fb1b3fa13eb33e5e8a0
2 files changed
+41
conf.d/Makefile.am
+1
@@ -79,6 +79,7 @@ dist_healthconfig_DATA = \
79
health.d/squid.conf \
80
health.d/swap.conf \
81
health.d/tcp_resets.conf \
82
+ health.d/udp_errors.conf \
83
$(NULL)
84
85
chartsconfigdir=$(configdir)/charts.d
conf.d/health.d/udp_errors.conf
new
+40
@@ -0,0 +1,40 @@
1
+# -----------------------------------------------------------------------------
2
+
3
+ alarm: ipv4_udperrors_last_collected_secs
4
+ on: ipv4.udperrors
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
+# UDP receive buffer errors
16
+
17
+ alarm: 1m_ipv4_udp_receive_buffer_errors
18
+ on: ipv4.udperrors
19
+ lookup: sum -1m unaligned absolute of RcvbufErrors
20
+ units: errors
21
+ every: 10s
22
+ warn: $this > 0
23
+ crit: $this > 100
24
+ info: number of UDP receive buffer errors during the last minute
25
+ delay: up 0 down 60m multiplier 1.2 max 2h
26
+ to: sysadmin
27
+
28
+# -----------------------------------------------------------------------------
29
+# UDP send buffer errors
30
+
31
+ alarm: 1m_ipv4_udp_send_buffer_errors
32
+ on: ipv4.udperrors
33
+ lookup: sum -1m unaligned absolute of SndbufErrors
34
+ units: errors
35
+ every: 10s
36
+ warn: $this > 0
37
+ crit: $this > 100
38
+ info: number of UDP send buffer errors during the last minute
39
+ delay: up 0 down 60m multiplier 1.2 max 2h
40
+ to: sysadmin