Changes for the dropped packets alerts
- remove "major" alert for the dropped packets;
- decrease threshold from 100 to 60 dropped packets per minute
for the "warning" alert.
Change-Id: I1995df00406fc0ecf8b84323150ca5be759c62a1
Related-PROD: PROD-25970 (PROD:25970)
(cherry picked from commit f89fb97623493460638ae89dec3e3d1ec9115819)
diff --git a/linux/map.jinja b/linux/map.jinja
index 0fb462d..b24e9ce 100644
--- a/linux/map.jinja
+++ b/linux/map.jinja
@@ -434,7 +434,7 @@
'crit': 2,
},
'rx_packets_dropped_threshold': {
- 'warn': 100,
+ 'warn': 60,
},
'tx_packets_dropped_threshold': {
'warn': 100,
diff --git a/linux/meta/prometheus.yml b/linux/meta/prometheus.yml
index e89b42b..f405367 100644
--- a/linux/meta/prometheus.yml
+++ b/linux/meta/prometheus.yml
@@ -158,16 +158,6 @@
annotations:
summary: "{{ net_rx_dropped_threshold }}{%- raw %} received packets were dropped"
description: "{{ $value }} packets received by the {{ $labels.interface }} interface on the {{ $labels.host }} node were dropped during the last minute."
- SystemRxPacketsDroppedLongTermTooHigh:
- if: >-
- increase(net_drop_in[1m]) > 0 unless on (host,interface) bond_slave_active == 0
- for: 10m
- labels:
- severity: major
- service: system
- annotations:
- summary: "Received packets long term dropping"
- description: "{{ $value }} packets received by the {{ $labels.interface }} interface on the {{ $labels.host }} node were dropped during the last 10 minutes."
SystemTxPacketsDroppedTooHigh:
{%- endraw %}
{%- set net_tx_dropped_threshold = monitoring.tx_packets_dropped_threshold.warn %}