Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: fcdd2314f0d3de29f977c05a75063f3f882ba2dc
https://github.com/Checkmk/checkmk/commit/fcdd2314f0d3de29f977c05a75063f3f8…
Author: Moritz Kirschner <moritz.kirschner(a)checkmk.com>
Date: 2024-09-27 (Fri, 27 Sep 2024)
Changed paths:
A .werks/17259.md
M cmk/gui/plugins/wato/check_parameters/interfaces.py
M cmk/plugins/lib/interfaces.py
M tests/unit/cmk/plugins/collection/agent_based/test_lnx_if.py
M tests/unit/cmk/plugins/fritzbox/agent_based/test_fritz.py
M tests/unit/cmk/plugins/lib/test_interfaces.py
M tests/unit/cmk/plugins/prism/agent_based/test_prism_host_networks.py
Log Message:
-----------
17259 Fix mismatching network interface and switch port services
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.
SUP-20568
Change-Id: I030c4beffeb15465c77b73bfa74e90ba9c6fda3c
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications