Werk #20042: Network interfaces: Discover cmk/network_interface service labels
| Component | Checks & agents | ||
| Title | Network interfaces: Discover cmk/network_interface service labels | ||
| Date | Jul 27, 2026 | ||
| Level | Trivial Change | ||
| Class | New Feature | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
Interface services that are discovered via the central interface discovery (for example if64, Interface, lnx_if, ...) now automatically carry three additional service labels describing the underlying interface:
- cmk/network_interface/index
- cmk/network_interface/description
- cmk/network_interface/alias
The values are taken directly from the interface's index, description and alias. Empty values are omitted, so an interface without an alias does not get an empty cmk/network_interface/alias label.
The main motivation is correlation: the interface index equals the SNMP ifIndex, which is the same identifier used in netflow monitoring. The label therefore provides a stable key to match an interface service to its netflow data, independently of how the service item is named.
The labels are only added to single-interface services. Grouped-interface services, which aggregate several interfaces, do not receive them.
These are additional labels. Existing service labels configured via the discovery ruleset are kept. The new labels appear after a service re-discovery.