Skip to content

Commit c3e5eef

Browse files
committed
OVS interfaces drop packets during normal operation, generating lots of spurious alerts.
Change the regex to filter out interfaces that don't matter for packet drops.
1 parent 9f6c4ef commit c3e5eef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/kayobe/kolla/config/prometheus/ceph.rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ groups:
139139

140140
# alert on nic packet errors and drops rates > alertmanager_packet_drop_threshold packet/s
141141
- alert: NetworkPacketsDropped
142-
expr: irate(node_network_receive_drop_total{device!~"lo|br.*|.*-ovs|tap.*"}[5m]) + irate(node_network_transmit_drop_total{device!~"lo|br.*|.*-ovs|tap.*"}[5m]) > {% endraw %}{{ alertmanager_packet_drop_threshold }}{% raw %}
142+
expr: irate(node_network_receive_drop_total{device!~"lo|br.*|.*-ovs|tap.*|ha.*|qc.*|qr.*|qg.*"}[5m]) + irate(node_network_transmit_drop_total{device!~"lo|br.*|.*-ovs|tap.*|ha.*|qc.*|qr.*|qg.*"}[5m]) > {% endraw %}{{ alertmanager_packet_drop_threshold }}{% raw %}
143143
labels:
144144
severity: warning
145145
annotations:

0 commit comments

Comments
 (0)