after a long time working with 1.5 today i update to 1.6.10 CRE with some little probs but with a little bit adjusting everything is fine - except mk_docker
Running /usr/lib/check_mk_agent/plugins/mk_docker.py tells me
File …, line 291
except () if DEBUG else docker.errors.APIError, exc:
^
SyntaxError: invalid syntax
I am looking around a little bit but cannot find useful hints.
How can i debug or solve this?
I had the same problem with the agent docker plugin you are describing.
For me the problem was solved after switching from python3.7 to python2.7 and installing the docker package with pip for python2.7 on the server where the agent is running.