Add Docker monitoring to checkMk Raw

Find the url for the plugin you want to install

Setup > Agents > Other operating systems

Copy the plugin url to clipboard

Most plugins require python3. The check if python is installed correctly, use:

python3 --version

We will also need the python docker libraries installed.

apt install python3-docker

If you do not have pip installed, use:

apt install python3-pip

Let’s grab the plugin file with:

wget <copied plugin url>

Then isntall with:

install -m 0755 mk_docker.py /usr/lib/check_mk_agent/plugins/

Now, run a discovery on the node which should return several docker monitoring items.