Troubleshooting the NodeNetworkInterfaceFlapping alert with node-exporter in OpenShift Container Platform 4.

Solution Verified - Updated -

Issue

  • Node-exporter is crashing while generating the OS and hardware metrics exposed by kernel.
  • Applications and pods on the node in the cluster may no longer be able to operate with other services, as the network attached could suffer performance issues or even data loss.
  • Getting a NodeNetworkInterfaceFlapping alert.
 - alert: NodeNetworkInterfaceFlapping
    annotations:
      message: Network interface "{{ $labels.device }}" changing it's up status often on node-exporter {{ $labels.namespace }}/{{ $labels.pod }}"
    expr: |
      changes(node_network_up{job="node-exporter",device!~"veth.+"}[2m]) > 2
    for: 2m
    labels:
      severity: warning

Environment

  • Red Hat OpenShift Container Platform 4. [RHOCP]

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content