Werk #17194: Disallow ancient 'check_parameters' variable in .mk files

Component Checks & agents
Title Disallow ancient 'check_parameters' variable in .mk files
Date Sep 23, 2024
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This only affects users that use the ancient check_parameters variable in custom '.mk' files to configure services.

This variable is not recognized anymore. Affected users will see the message

Cannot read in configuration file <file>: name 'check_parameters' is not defined

during cmk-update-config.

This situation is detected before the actual update is started, leaving the site unchanged.

If you are affected, please remove all references to that variable from your '.mk' files. Use the rulesets found in the Setup menu "Service monitoring rules" to configure check plugins.

To the list of all Werks