WEIGEL FORUM
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    CheckMK || Docker Monitoring

    Automation
    1
    1
    12
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DerMeldosD
      DerMeldos
      last edited by

      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:
      69929559-f86d-4371-bfc9-99dead8d898b-image.png

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors