Branch: refs/heads/2.2.0
Home:
https://github.com/Checkmk/checkmk
Commit: 7354e11905fca70fd8ddb9c2f8a8c11c5b626523
https://github.com/Checkmk/checkmk/commit/7354e11905fca70fd8ddb9c2f8a8c11c5…
Author: Moritz Kirschner <moritz.kirschner(a)checkmk.com>
Date: 2024-09-27 (Fri, 27 Sep 2024)
Changed paths:
A .werks/17259
M cmk/base/plugins/agent_based/utils/interfaces.py
M cmk/gui/plugins/wato/check_parameters/interfaces.py
M tests/unit/cmk/base/plugins/agent_based/test_fritz.py
M tests/unit/cmk/base/plugins/agent_based/test_lnx_if.py
M tests/unit/cmk/base/plugins/agent_based/test_netapp_api_if.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_interfaces.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