It looks to me as if section_docker_containers is always None - this PR at least makes the plugin not crash anymore.
Crash Report
Exception
AttributeError ('NoneType' object has no attribute 'values')
Traceback
File "/omd/sites/zdv/lib/python3/cmk/base/agent_based/checking/_checking.py", line 413, in get_aggregated_result
consume_check_results(
File "/omd/sites/zdv/lib/python3/cmk/base/api/agent_based/checking_classes.py", line 484, in consume_check_results
for subr in subresults:
File "/omd/sites/zdv/lib/python3/cmk/base/api/agent_based/register/check_plugins.py", line 93, in filtered_generator
for element in generator(*args, **kwargs):
File "/omd/sites/zdv/local/lib/python3/cmk/base/plugins/agent_based/docker_images.py", line 64, in check_docker_images
image_containers = get_running_image_containers(image["ImageID"], section_docker_containers.values())
It looks to me as if
section_docker_containers
is alwaysNone
- this PR at least makes the plugin not crash anymore.Crash Report
Exception
Traceback
Local Variables