Docker Container Monitoring
Docker Container Monitoring utilizes the Docker API to monitor the status of Docker containers. You can not only use it to monitor the running status of local Docker containers, but also to monitor containers on each node of Kubernetes, as well as containers on EC2 instances of AWS ECS, to obtain more comprehensive data. It provides insights into CPU usage, memory usage, IO usage, and network traffic for each container.
Adding Docker Container to Monitoring Services
- Navigate to the Monitoring Services section by clicking on the left sidebar.
- Click the “Add” button in the top left corner of the page.
- Select “Single addition” under “Applications”.
- Locate “Docker Container” and click “Add”.
- Choose a collector that can access the Docker service you want to monitor, and proceed to fill in the required details.
- Once filled, click “Next”.
- If the Zoomphant Collector is installed on the Docker host you want to monitor, no additional configuration is needed. Otherwise, specify the Docker host as
tcp://<IP or Hostname>:2376
.
- Click the “Test” button to ensure successful connection, then proceed to click “Next”.
Viewing Monitoring Results
You can now view the added service on the monitoring services page.