Add a Docker Monitor
Monitor your docker containers with the Site24x7 Linux Monitoring agent and track these dynamic, rapidly scaling containers from a single console. Various performance metrics are provided to monitor the docker hosts and all the individual containers.
The Linux monitoring agent can be installed in two ways:
- Auto-discover docker application once the agent is installed
- Download and install the Linux monitoring agent from Docker Store (called the Docker agent)
In both the methods, the docker application and all the containers within the docker will be added as separate monitors in the Site24x7 web client. Read some FAQs on this.
Add Docker Monitor
Auto-discover docker application once the agent is installed:
- Log in to Site24x7 and go to Server > Docker > Docker Host (+).
- Copy-paste and execute the command given in the Site24x7 web client to download and install the Linux agent. The command given is independent of the OS architecture: 32-bit or 64-bit.
Once the agent is installed, it will auto-discover and add the docker monitor and all its containers under Server > Docker > Docker Hosts and Containers respectively. Do you want to disable auto-discovery of containers? Read on to know how.
Download and install the Linux monitoring agent from Docker Store:
The Linux monitoring agent (called the Docker agent) can be installed via the Docker Hub or from the Site24x7 web client. Please follow the steps below if you are installing from Site24x7's web client:
- Log in to Site24x7 and go to Server > Server Monitor > Servers (+) > Docker Agent.
- Click on Copy to Clipboard and execute the command given in the web client.
Sample command:
docker run -d --name site24x7-agent -v /var/run/docker.sock:/var/run/docker.sock:ro -v /proc/:/host/proc/:ro -v /sys:/host/sys/:ro -v /var/lib/docker/containers/:/var/lib/docker/containers/:ro -e KEY=<device_key> store/site24x7/docker-agent:release1757By default, the docker.sock file will be in the location /var/run/docker.sock. If it is present in a different location, change the location accordingly and execute the command given in the web client.
Once the agent is installed is successfully executed, it will auto-discover and add the docker monitor and all its containers under Server > Docker > Docker Hosts and Containers respectively. Do you want to disable auto-discovery of containers? Read on to know how.
The docker agent can also be installed in multiple machines in one go using one of our bulk deployment methods: AWS ECS and Kubernetes.
Performance Metrics
Monitor Docker container performance using different metrics from a single console.
Licensing
Each docker host with five containers will consume one basic monitor license. After that, every five containers will consume one basic monitor license.
For example, 105 containers running in your environment will consume 21 basic monitors, i.e.,
1 docker host + 5 Containers = 1 basic monitor
100 Containers = 20 basic monitors
Related Articles
- FAQs on docker monitoring
- Kubernetes monitoring
- Device key
- Other virtualization monitors we support: VMware ESX/ESXi | VMware vCenter | Hyper-V
- Add a server: Windows | Linux | FreeBSD | OS X