Mk_docker.py check_mk 1.6.10 CRE invalid syntax error

Hi checkers,

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?

Thanks!

Hi rhaase,

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.

Hope this solution helps you.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.