Branch: refs/heads/2.2.0
Home:
https://github.com/Checkmk/checkmk
Commit: 5faaf7fb67bb73325cccc4b3ee070830f329bad9
https://github.com/Checkmk/checkmk/commit/5faaf7fb67bb73325cccc4b3ee070830f…
Author: Luka Racic <luka.racic(a)checkmk.com>
Date: 2023-08-23 (Wed, 23 Aug 2023)
Changed paths:
A .werks/15913
M cmk/gui/plugins/wato/active_checks/disk_smb.py
Log Message:
-----------
15913 FIX check_disk_smb: Fix rule transform when updating from 2.1.0p30 and lower
If the rule 'Check SMB share access' was configured witg a defined 'NetBIOS
name of the server' in 2.1.0p30 and lower and an update to a higher version was
attempted, it caused a rule transform error.
The error looks similar to this:
C+:
-| ERROR: Failed to transform rule: (Ruleset: active_checks:disk_smb, ...) ... is not an
allowed value
-| WARNING: Invalid rule configuration detected (Ruleset: active_checks:disk_smb, Title:
Check SMB share access, ...)
C-:
This has now been fixed and the transformation of the rule will not cause any problems
while updating.
Change-Id: Ia69254638e04aba3bfcd160e26a6d8cf04cbcbf1