Docker Installation
This container runs a full Outlyer agent. It will detect containers running on the host and register them as children of the Host in the App2 Host List.
These discovered containers are targetable to schedule checks against.
Docker
AGENT_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
docker run -d \
-e "AGENT_KEY=${AGENT_KEY}" \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-v /proc:/host/proc:ro \
-v /sys/fs/cgroup:/host/sys/fs/cgroup:ro \
outlyer/agent2:1.5.11
There is also a larger Docker image that includes the OpenJRE Java runtime so that users monitoring Java from our Docker agent can run
integration plugins that need to connect to Java via JMX. To pull that image just append -java
to the end of the image version tag.
Extra Options
In addition to the Agent Key, that is required, you can pass the following environment options to the container. Please see the agent configuration page for more detail on the options.
- DEBUG: ‘true’ or ‘false’
- AGENT_HOSTNAME: string value
- LABELS: Add labels in format ‘key1:value1,key2:value2,…’
- METRIC_LABELS: Add metric_labels in format ‘key1,key2,…’
- SOLO: ‘true’ or ‘false’
- CONFIG_DIR: string value
- DOCKER: string value
- ROOTFS: string value