Localchecks Variablen per Agend Bakery setzen

Hi nachdem ich nun auf 2.0 teste geht meine Agent “Sub Bakery” nicht mehr , hast du bei bei deinen Plugins da auch was anpassen müssen ?

Agent baking and signing for all hosts started… 2021-03-14 20:52:49,042 [30] [cmk.web.automations 2963383] ‘check_mk --automation bake-agents’ returned 'Error creating agent for HY1.x.local: Error creating agents: Error creating 00be61dd89584384/windows_msi agent for HY1.x.local: Error in bakery plugin “check_altaro”: name ‘shutil’ is not defined Traceback (most recent call last): File “/omd/sites/service/lib/python3/cmk/base/cee/bakery/agent_bakery.py”, line 426, in _execute_pre_17_bakery_plugin bake_func(**func_args) File “”, line 6, in bake_check_altaro NameError: name ‘shutil’ is not defined . . ’ 2021-03-14 20:52:49,043 [40] [cmk.web.automations 2963383] Error running ‘check_mk --automation bake-agents’ (exit code 2) 2021-03-14 20:52:49,045 [40] [cmk.web.background-job 2963383] Exception in background function Traceback (most recent call last): File “/omd/sites/service/lib/python3/cmk/gui/background_job.py”, line 209, in _execute_function func_ptr(*args, **kwargs) File “/omd/sites/service/lib/python3/cmk/gui/cee/plugins/wato/agent_bakery/misc.py”, line 877, in bake_agents_background_job watolib.check_mk_local_automation(‘bake-agents’, File “/omd/sites/service/lib/python3/cmk/gui/watolib/automations.py”, line 143, in check_mk_local_automation raise _local_automation_failure(command=command, cmk.utils.exceptions.MKGeneralException: Error running automation call bake-agents (exit code 2), error: Error creating agent for HY1.x.local: Error creating agents: Error creating 00be61dd89584384/windows_msi agent for HY1.x.local: Error in bakery plugin “check_altaro”: name ‘shutil’ is not defined Traceback (most recent call last): File “/omd/sites/service/lib/python3/cmk/base/cee/bakery/agent_bakery.py”, line 426, in _execute_pre_17_bakery_plugin bake_func(**func_args) File “”, line 6, in bake_check_altaro NameError: name ‘shutil’ is not defined . . Exception: Error running automation call bake-agents (exit code 2), error: Error creating agent for HY1.x.local: Error creating agents: Error creating 00be61dd89584384/windows_msi agent for HY1.x.local: Error in bakery plugin “check_altaro”: name ‘shutil’ is not defined Traceback (most recent call last): File “/omd/sites/service/lib/python3/cmk/base/cee/bakery/agent_bakery.py”, line 426, in _execute_pre_17_bakery_plugin bake_func(**func_args) File “”, line 6, in bake_check_altaro NameError: name ‘shutil’ is not defined . .