health: exclude cgroups net ifaces from packets dropped alarms (#10806)
Ilya Mashchenko committed
Mar 18, 2021 at 22:48 UTC
71343240bc67efc82abfc5136831c6831054f762
1 file changed
+4
-4
health/health.d/net.conf
+4
-4
@@ -56,7 +56,7 @@ template: inbound_packets_dropped
56
on: net.drops
57
os: linux
58
hosts: *
59
-families: *
59
+families: !net* *
60
lookup: sum -10m unaligned absolute of inbound
61
units: packets
62
every: 1m
@@ -66,7 +66,7 @@ template: outbound_packets_dropped
66
on: net.drops
67
os: linux
68
hosts: *
69
-families: *
69
+families: !net* *
70
lookup: sum -10m unaligned absolute of outbound
71
units: packets
72
every: 1m
@@ -76,7 +76,7 @@ template: inbound_packets_dropped_ratio
76
on: net.packets
77
os: linux
78
hosts: *
79
-families: !wl* *
79
+families: !net* !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: !wl* *
93
+families: !net* !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: %