Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #15913: check_disk_smb: Fix rule transform when updating from 2.1.0p30 and lower

Component Checks & agents
Title check_disk_smb: Fix rule transform when updating from 2.1.0p30 and lower
Date Aug 23, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.2.0p9 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p33 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

If the rule 'Check SMB share access' was configured with 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:

-| 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, ...)

This has now been fixed and the transformation of the rule will not cause any problems while updating.

To the list of all Werks