jiuka / checkmk_veeam_o365

Checkmk Agent Plugin and Checks for Veeam for Office 365
https://exchange.checkmk.com/p/veeam-o365
GNU General Public License v2.0
5 stars 1 forks source link

AttributeError: 'bool' object has no attribute 'get' #26

Open novllus opened 2 months ago

novllus commented 2 months ago

After upgrading checkmk and updating the plugin, you receive the following error message in the agent backery:

Exception: Error running automation call bake-agents (exit code 2), error: Error in bakery plug-in "veeam_o365" ("files" section): 'bool' object has no attribute 'get'

Traceback (most recent call last): File "/omd/sites/novellus/lib/python3/cmk/base/cee/bakery/_package_builder.py", line 154, in _consume_bakelet_functions objects += function(*func_args) File "/omd/sites/novellus/lib/python3/cmk/base/api/bakery/function_types.py", line 92, in filtered_generator for element in function(args, **kwargs): File "/omd/sites/novellus/local/lib/python3/cmk/base/cee/plugins/bakery/veeam_o365.py", line 28, in get_veeam_o365_files if conf.get('agent', 'do_not_deploy') == 'deploy': ^^^^^^^^ AttributeError: 'bool' object has no attribute 'get'

More information can be found in ~/var/log/web.log

47k commented 2 weeks ago

https://github.com/jiuka/checkmk_veeam_o365/pull/28