Werk #15913: check_disk_smb: Fix rule transform when updating from 2.1.0p30 and lower
Komponente | Checks & agents |
Titel | check_disk_smb: Fix rule transform when updating from 2.1.0p30 and lower |
Datum | 23.08.2023 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.1.0p33 2.2.0p9 2.3.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.