Check manual page of docker_container_status_health

Docker: Container Health

Distribution Official part of Checkmk
License GPLv2
Supported Agents Linux
Monitors the health status of docker containers, as reported via the HEALTHCHECK API. A Status of "healthy" is treated as OK, "starting" as WARN, "unhealthy" as CRIT. The Plugin additionally displays the last reported output of the health test and the configured health test command itself.

To make this check work the agent plug-in {mk_docker.py} has to be installed. If you are using agent bakery rules, you must enable "Piggybacked docker containers". If you are configuring the plug-in via the configuration file, make sure you do not skip the section "docker_container_status" (the default setting is fine).

Discovery

One service is created for each active container (running or exited or restart policy 'always') that has a health test configured.