CheckMK || Docker Monitoring
-
You need to pull the agent plug-in from your monitoring site at first.
root@FILEFLOWS0734:~# wget http://10.73.136.132/monitoring/check_mk/agents/plugins/mk_docker.py
Install the plug-in to the agents plug-in folder (usually /usr/lib/check_mk_agent/plugins).
install -m 0755 mk_docker.py /usr/lib/check_mk_agent/plugins
Note, that the docker Python library is required (not docker-py). At least Version 2.6.1 is necessary. You can easily check this by entering python on the command line:
root@linux# python3 Python 3.8.10 (default, Nov 26 2021, 20:14:08) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import docker >>> docker.version '5.0.3'
If you now perform the service discovery in Checkmk and activate the changes, you should find some new services that affect the Docker node itself: