[SOLVED] Trouble Upgrading from 2.1.0p29 to 2.2.0p4 with custom active check

This is only part of your own check.
There are two problematic files.

  • /omd/sites/monitoring/local/share/check_mk/checks/check_support_period.py

The import for “quote_shell_string” is not existing anymore.
Here you can use “shlex.quote()” → Quote_shell_string now CEE exclusive? - #2 by r.sander

  • /omd/sites/monitoring/local/share/check_mk/web/plugins/wato/check_support_period_parameters_ui.py

Here is the import statement for “RulespecGroupActiveChecks” the problem.
The following line should fix this.

from cmk.gui.plugins.wato.active_checks.common import RulespecGroupActiveChecks

2 Likes