Help Admin Adding a monitor Add a Docker Monitor

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:

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.

Licensing tip: Both docker and container monitors are chargeable. Read more about licensing.

Add Docker Monitor

Auto-discover docker application once the agent is installed:

  1. Log in to Site24x7 and go to Server > Docker > Docker Host (+).
  2. 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.

Rediscover Docker monitor: In the absence of the docker monitor in the Site24x7 web client or if it has been deleted previously, you can enable it using the rediscover applications feature. Go to the specific Linux server's Summary tab and hover on the hamburger icon beside the display name. Click on Discover Applications in the drop-down to start monitoring docker again.

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: 

  1. Log in to Site24x7 and go to Server > Server Monitor Servers (+) Docker Agent.
  2. 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:release1757
    By 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.

Have more questions on the docker agent and docker application? Read our FAQs

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

This will apply only to new containers being added to your account. Existing container monitors in your account will not be charged from June to August 2020. 

Related Articles

Was this document helpful?
Thanks for taking the time to share your feedback. We’ll use your feedback to improve our online help resources.

Help Admin Adding a monitor Add a Docker Monitor