Skip to content
Dao Huy Hoang edited this page Sep 30, 2018 · 6 revisions

Welcome to the meditech-ghichep-omd wiki!

Exchange: https://mathias-kettner.com/check_mk-exchange.php

Docker Monitoring

Install on check_mk server

Download and install check_mk's package

# su - sitename
$ wget -O docker-1.2.4.mkp https://mathias-kettner.com/check_mk-exchange-download.php?file=docker-1.2.4.mkp
$ check_mk -P install docker-1.2.4.mkp

Copy file /omd/sites/gltec/local/share/check_mk/agents/plugins/check_docker into Docker node /usr/lib/check_mk_agent/plugins and set execute permisson.

Set services check timeout

(vi ~/etc/nagios/nagios.d/tuning.cfg)

...
service_check_timeout=120
host_check_timeout=120
...

Restart check_mk

omd status
omd restart
omd status

Install dependencies pakages on Docker nodes

pip install pprint
pip install docker
Clone this wiki locally