The problem Zabbix (up to v7.2) doesn't seem to be able to monitor the Docker engine and containers in active mode, nor can it collected container logs, which is surprising, since it collects a wide range of container-, image- and runtime engine metrics in passive mode. The solution is a custom agent2 (I'll refer to … Continue reading A Zabbix active agent2 template for monitoring containers and container logs
Tag: container
Rebuilding single services in docker-compose
Note to self: a single service ("container") out of a docker-compose.yaml file is rebuilt and restarted like this: docker-compose create container_name While this complains about deprecations, there is another way. Let's say we want to re-create a container called "web" belonging to a composition: # stop container docker-compose stop web # optionally destroy container. … Continue reading Rebuilding single services in docker-compose
Tomcat starts slowly in docker container
Just a little reminder to self: when running Tomcat with Java 8 in an Ubuntu Docker container, Tomcat will take a very long time (minutes!) to start with even the simplest web application. The issue is actually documented (not entirely Docker-related). The solution is to modify JAVA_OPTS to use a different random device: JAVA_OPTS=-Djava.security.egd=file:/dev/urandom

