CMK version: 2.0.0
OS version: Debian 11 Bullseye
Hi,
I tried to monitor my docker container as single host after following steps:
- Add a host with the container short id
- Host config: No IP, no Agent, no Api like in the doc Monitoring Docker (checkmk.com)
- Then i moved the host in a subfolder for containers
- For this host folder i applied following rule: Host Check Command: Use the status of the service → Docker container status
- Saved. Sadly only a green OK for SSH connection is displayed now, no memory usage or whatsoever. What am i doing wrong? WHat do i have to do to get the docker container monitored like a regular host like its described as in the doc?
The error (CRIT) in the containers host on the monitoring:
[piggyback] Valid sources: your.domain.de, Got no information from host, execution time 0.0 sec