Use > Use case

Use Case

After you have installed OMi MP for Docker and deployed the Aspects, you can monitor the resource consumption, network traffic, and network failure in turn to monitor the Docker container performances.

Following are few instances when an event is triggered to notify the change in the performance:

  • Container with network failure - packets dropped, packet error while sending or receiving
  • Container with high network traffic
  • Container with high CPU usage
  • Container with high memory usage
  • Container with high disk operations

In the following section, let us consider a situation where an event is generated for high CPU usage from one of the Docker Containers. Event is generated due to one of the applications in the Container is draining the CPU resource allocated for the container. You can use the following steps to observe and analyze the reason by collecting data for every 5 seconds:

Check the Docker Host Performance Dashboard to analyze the CPU allocation. If container requires to be restarted, then run the Docker Container Stop and Docker Container Start tools.

CI Type Tool Name Description
docker_container Docker Container Exec Shows the result from given command executed on Container.
docker_container Docker Container Inspect Shows container low level data using docker inspect.
docker_container Docker Container Stop Stops container using docker stop.
docker_container Docker Container Start Starts container using docker start.
docker_container Docker Container Logs Lists container log entries using docker logs.