@cryptotaxi247 / netdata-1 / commits / 6a7d7c4b3

added alarms about dropped packets ratio

Costa Tsaousis (ktsaou) committed Nov 12, 2016 at 19:42 UTC 6a7d7c4b351db105df398d5c39dd8649f72b6da8
1 file changed +37 -3
conf.d/health.d/net.conf
+37 -3
@@ -20,14 +20,48 @@ template: interface_last_collected_secs
20 # the alarm is checked every 1 minute
21 # and examines the last hour of data
22
23 -template: 1hour_packet_drops
23 +template: 1hour_packet_drops_inbound
24 on: net.drops
25 - lookup: sum -1h unaligned absolute
25 + lookup: sum -1h unaligned absolute of inbound
26 + units: packets
27 + every: 1m
28 + warn: $this > 0
29 + delay: down 30m multiplier 1.5 max 1h
30 + info: interface inbound dropped packets in the last hour
31 + to: sysadmin
32 +
33 +template: 1hour_packet_drops_outbound
34 + on: net.drops
35 + lookup: sum -1h unaligned absolute of outbound
36 units: packets
37 every: 1m
38 warn: $this > 0
39 delay: down 30m multiplier 1.5 max 1h
30 - info: interface dropped packets in the last hour
40 + info: interface outbound dropped packets in the last hour
41 + to: sysadmin
42 +
43 +template: 1hour_packet_drops_ratio_inbound
44 + on: net.packets
45 + lookup: sum -1h unaligned absolute of received
46 + calc: (($1hour_packet_drops_inbound != nan AND $this > 0) ? ($1hour_packet_drops_inbound * 100 / $this) : (0))
47 + units: %
48 + every: 1m
49 + warn: $this > 0.5
50 + crit: $this > 3
51 + delay: down 30m multiplier 1.5 max 1h
52 + info: the ratio of inbound dropped packets vs the total number of received packets of the network interface, during the last hour
53 + to: sysadmin
54 +
55 +template: 1hour_packet_drops_ratio_outbound
56 + on: net.packets
57 + lookup: sum -1h unaligned absolute of sent
58 + calc: (($1hour_packet_drops_outbound != nan AND $this > 0) ? ($1hour_packet_drops_outbound * 100 / $this) : (0))
59 + units: %
60 + every: 1m
61 + warn: $this > 0.5
62 + crit: $this > 3
63 + delay: down 30m multiplier 1.5 max 1h
64 + info: the ratio of outbound dropped packets vs the total number of sent packets of the network interface, during the last hour
65 to: sysadmin
66
67