From e2e58f6e6e95e7a3dd3e2eeb3ef27ad8ed145222 Mon Sep 17 00:00:00 2001 From: "pixel::doc" Date: Tue, 23 Jun 2026 15:44:41 +0200 Subject: [PATCH] Refactor detection logic for Vutlan EMS Also detect "RZproducts DCM", as it is ODM / Whitelabel of Vutlan Device. --- cmk/plugins/vutlan/lib.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cmk/plugins/vutlan/lib.py b/cmk/plugins/vutlan/lib.py index 8219cd42ec5..9fd628cd791 100644 --- a/cmk/plugins/vutlan/lib.py +++ b/cmk/plugins/vutlan/lib.py @@ -3,6 +3,9 @@ # This file is part of Checkmk (https://checkmk.com). It is subject to the terms and # conditions defined in the file COPYING, which is part of this source code package. -from cmk.agent_based.v2 import contains +from cmk.agent_based.v2 import any_of, contains -DETECT_VUTLAN_EMS = contains(".1.3.6.1.2.1.1.1.0", "vutlan ems") +DETECT_VUTLAN_EMS = any_of( + contains(".1.3.6.1.2.1.1.1.0", "vutlan ems"), + contains(".1.3.6.1.2.1.1.1.0", "RZproducts DCM"), # Vutlan is ODM +)