Open Kev98710 opened 4 months ago
sorry, Information incomplete:
{'item': 'Cloudkey', 'section': dictobject(None, {'autobackup': '0', 'cloudkey_version': '4.0.6.3cc7293', 'controller_version': '8.2.93', 'hostname': 'xxx', 'name': 'xxx', 'previous_version': '8.0.28', 'timezone': 'Europe/Berlin', 'type': 'UCKP', 'ubnt_device_type': 'UCKP', 'update_available': '0', 'uptime': '1244'})}
Crash Type | check Time | 2024-07-07 01:35:54 Operating System | Ubuntu 20.04.4 LTS Checkmk Version | 2.0.0p18 Edition | cre Python Version | 3.8.7 (default, Feb 3 2021, 02:48:47) [GCC 10.1.0]
Update:
I uncommented the lines from 123 in the file "/omd/sites/xxx/local/lib/python3/cmk/base/plugins/agent_based/unifi_controller.py", regarding the "unifi update available check". This disables the check for available Unifi updates and resolves the problem quick and dirty, as I am unable to understand the error message to its full extent.
I think the check_mk check crashes, after my Console did a major release Update from Version 3.x to Version 4.x some Minutes ago.
ValueError (invalid literal for int() with base 10: '')
File "/omd/sites/xxx/lib/python3/cmk/base/checking.py", line 581, in get_aggregated_result result = _aggregate_results(check_function(*kwargs)) File "/omd/sites/xxx/lib/python3/cmk/base/checking.py", line 812, in _aggregate_results perfdata, results = _consume_and_dispatch_result_types(subresults) File "/omd/sites/xxx/lib/python3/cmk/base/checking.py", line 856, in _consume_and_dispatch_result_types for subr in subresults: File "/omd/sites/xxx/lib/python3/cmk/base/api/agent_based/register/check_plugins.py", line 89, in filtered_generator for element in generator(args, **kwargs): File "/omd/sites/xxx/local/lib/python3/cmk/base/plugins/agent_based/unifi_controller.py", line 123, in check_unifi_controller if int(section.cloudkey_update_available) > 0: