Werk #20042 · Jul 27, 26
Network interfaces: Discover cmk/network_interface service labels
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.
Details
- Class:
- New Features
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions