Tried to upgrade checkmk from version 2.1.0p32 to 2.2.0p7 and it fails with
OK
Updating core configuration...
Generating configuration for core (type cmc)...
Starting full compilation for all hosts Creating global helper config...OK
Creating cmc protobuf configuration...Configuration Error: Error creating configuration: Traceback (most recent call last):
File "/omd/sites/geomar/lib/python3/cmk/base/cee/microcore_config.py", line 2149, in _hosts_worker
hosts_data = _compute_worker_hosts_data(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/geomar/lib/python3/cmk/base/cee/microcore_config.py", line 2040, in _compute_worker_hosts_data
return [
^
File "/omd/sites/geomar/lib/python3/cmk/base/cee/microcore_config.py", line 2041, in <listcomp>
helper_config_manager.get_host_data(
File "/omd/sites/geomar/lib/python3/cmk/base/cee/microcore_config.py", line 2916, in get_host_data
return self._compute_and_cache(host_class(hostname, stored_passwords))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/geomar/lib/python3/cmk/base/cee/microcore_config.py", line 2972, in _compute_and_cache
self._write_host_fetcher_config(host.hostname)
File "/omd/sites/geomar/lib/python3/cmk/base/cee/microcore_config.py", line 2977, in _write_host_fetcher_config
fetcher_config.write_local(self._config_path, hostname)
File "/omd/sites/geomar/lib/python3/cmk/base/cee/fetcher_config.py", line 33, in write_local
serialized = fetcher_configuration.fetchers(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/geomar/lib/python3/cmk/cee/helpers/fetcher_configuration.py", line 45, in fetchers
"fetchers": [
^
File "/omd/sites/geomar/lib/python3/cmk/cee/helpers/fetcher_configuration.py", line 45, in <listcomp>
"fetchers": [
^
File "/omd/sites/geomar/lib/python3/cmk/cee/helpers/fetcher_configuration.py", line 30, in _unpack
source.fetcher(),
^^^^^^^^^^^^^^^^
File "/omd/sites/geomar/lib/python3/cmk/base/_sources.py", line 389, in fetcher
cmdline=self.config_cache.make_special_agent_cmdline(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/geomar/lib/python3/cmk/base/config.py", line 2789, in make_special_agent_cmdline
args = _make_source_args(
^^^^^^^^^^^^^^^^^^
File "/omd/sites/geomar/lib/python3/cmk/base/config.py", line 2784, in _make_source_args
agent_configuration = info_func(params, hostname, ip_address)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/geomar/local/share/check_mk/checks/agent_emcunity", line 9, in agent_emcunity_arguments
args += " -u " + quote_shell_string(params["username"])
^^^^^^^^^^^^^^^^^^
NameError: name 'quote_shell_string' is not defined
Could not update core configuration. Aborting.
Still younot anymore developing your plugin, this plugin is not useable anymore from checkmk 2.2 . It's some pity, it was helping me a lot.
Tried to upgrade checkmk from version 2.1.0p32 to 2.2.0p7 and it fails with
Still younot anymore developing your plugin, this plugin is not useable anymore from checkmk 2.2 . It's some pity, it was helping me a lot.