diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2021-03-17 14:16:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-17 14:16:44 +0300 |
commit | 2e180807fc26d4a0d7af790159c5b352a5d4b9ae (patch) | |
tree | 04e5f5c3c73d0d8fd929ffa9a6cb6ffdbf33b8e0 | |
parent | 65f4f12e8606a14d2c133569890e294275c2e056 (diff) |
health: use separate packets_dropped_ratio alarms for wifi network interfaces (#10785)
-rw-r--r-- | health/health.d/net.conf | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/health/health.d/net.conf b/health/health.d/net.conf index 29556befc8..21661c9615 100644 --- a/health/health.d/net.conf +++ b/health/health.d/net.conf @@ -76,7 +76,7 @@ template: inbound_packets_dropped_ratio on: net.packets os: linux hosts: * -families: * +families: !wl* * lookup: sum -10m unaligned absolute of received calc: (($inbound_packets_dropped != nan AND $this > 1000) ? ($inbound_packets_dropped * 100 / $this) : (0)) units: % @@ -90,7 +90,7 @@ template: outbound_packets_dropped_ratio on: net.packets os: linux hosts: * -families: * +families: !wl* * lookup: sum -10m unaligned absolute of sent calc: (($outbound_packets_dropped != nan AND $this > 1000) ? ($outbound_packets_dropped * 100 / $this) : (0)) units: % @@ -100,6 +100,34 @@ families: * info: the ratio of outbound dropped packets vs the total number of sent packets of the network interface, during the last 10 minutes to: sysadmin +template: wifi_inbound_packets_dropped_ratio + on: net.packets + os: linux + hosts: * +families: wl* + lookup: sum -10m unaligned absolute of received + calc: (($inbound_packets_dropped != nan AND $this > 1000) ? ($inbound_packets_dropped * 100 / $this) : (0)) + units: % + every: 1m + warn: $this >= 10 + delay: up 1m down 1h multiplier 1.5 max 2h + info: the ratio of inbound dropped packets vs the total number of received packets of the network interface, during the last 10 minutes + to: sysadmin + +template: wifi_outbound_packets_dropped_ratio + on: net.packets + os: linux + hosts: * +families: wl* + lookup: sum -10m unaligned absolute of sent + calc: (($outbound_packets_dropped != nan AND $this > 1000) ? ($outbound_packets_dropped * 100 / $this) : (0)) + units: % + every: 1m + warn: $this >= 10 + delay: up 1m down 1h multiplier 1.5 max 2h + info: the ratio of outbound dropped packets vs the total number of sent packets of the network interface, during the last 10 minutes + to: sysadmin + # ----------------------------------------------------------------------------- # interface errors |