@cryptotaxi247 / netdata-1 / commits / 2e180807f

health: use separate packets_dropped_ratio alarms for wifi network interfaces (#10785)

Ilya Mashchenko committed Mar 17, 2021 at 14:16 UTC 2e180807fc26d4a0d7af790159c5b352a5d4b9ae
1 file changed +30 -2
health/health.d/net.conf
+30 -2
@@ -76,7 +76,7 @@ template: inbound_packets_dropped_ratio
76 on: net.packets
77 os: linux
78 hosts: *
79 -families: *
79 +families: !wl* *
80 lookup: sum -10m unaligned absolute of received
81 calc: (($inbound_packets_dropped != nan AND $this > 1000) ? ($inbound_packets_dropped * 100 / $this) : (0))
82 units: %
@@ -90,7 +90,7 @@ template: outbound_packets_dropped_ratio
90 on: net.packets
91 os: linux
92 hosts: *
93 -families: *
93 +families: !wl* *
94 lookup: sum -10m unaligned absolute of sent
95 calc: (($outbound_packets_dropped != nan AND $this > 1000) ? ($outbound_packets_dropped * 100 / $this) : (0))
96 units: %
@@ -100,6 +100,34 @@ families: *
100 info: the ratio of outbound dropped packets vs the total number of sent packets of the network interface, during the last 10 minutes
101 to: sysadmin
102
103 +template: wifi_inbound_packets_dropped_ratio
104 + on: net.packets
105 + os: linux
106 + hosts: *
107 +families: wl*
108 + lookup: sum -10m unaligned absolute of received
109 + calc: (($inbound_packets_dropped != nan AND $this > 1000) ? ($inbound_packets_dropped * 100 / $this) : (0))
110 + units: %
111 + every: 1m
112 + warn: $this >= 10
113 + delay: up 1m down 1h multiplier 1.5 max 2h
114 + info: the ratio of inbound dropped packets vs the total number of received packets of the network interface, during the last 10 minutes
115 + to: sysadmin
116 +
117 +template: wifi_outbound_packets_dropped_ratio
118 + on: net.packets
119 + os: linux
120 + hosts: *
121 +families: wl*
122 + lookup: sum -10m unaligned absolute of sent
123 + calc: (($outbound_packets_dropped != nan AND $this > 1000) ? ($outbound_packets_dropped * 100 / $this) : (0))
124 + units: %
125 + every: 1m
126 + warn: $this >= 10
127 + delay: up 1m down 1h multiplier 1.5 max 2h
128 + info: the ratio of outbound dropped packets vs the total number of sent packets of the network interface, during the last 10 minutes
129 + to: sysadmin
130 +
131 # -----------------------------------------------------------------------------
132 # interface errors
133