Werk #17259: Fix mismatching network interface and switch port services

Component Checks & agents
Title Fix mismatching network interface and switch port services
Date Sep 25, 2024
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p18 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p35 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When configuring network interfaces to be discovered by alias or description (rule "Network interface and switch port discovery"), there was a chance of a mismatch between the discovered service item and the interface checked by the service.

This happened if the alias or description of one interface matched the index of another interface. For example, if the interface discovery is configured to discover interfaces by alias, then the service "Interface 5" is supposed to check the interface with the alias "5". Instead, it checked the interface with the index 5.

Compatibility Hint

To apply the fix, you need to remove the interface services and rediscover them. If you do not remove and rediscover them, the fix will not be applied and you might still have mismatched services.

To the list of all Werks