Skip to main content

Adding Container Runtime for Monitoring

ObserveOps (formerly known as AIOps) monitors container runtimes by connecting to Docker through a credential profile attached to an existing Linux monitor. Once set up, ObserveOps continuously collects performance metrics and generates alerts based on what it finds.

Container Runtimes Supported

Container Runtime
Docker

Prerequisites

Enable remote API access on your Docker host before adding it to ObserveOps.

  1. Open the Docker service file:
nano /lib/systemd/system/docker.service
  1. Update the ExecStart line to expose the Docker REST API on port 2375:
ExecStart=/usr/bin/dockerd -H fd:// -H=tcp://0.0.0.0:2375
  1. Reload the daemon and restart Docker:
systemctl daemon-reload
sudo service docker restart

Adding Docker

ObserveOps discovers Docker containers through an existing Linux monitor. The workflow has two steps: create a credential profile, then add the Container Runtime to the Linux monitor.

1. Create a Credential Profile

Go to Menu. Select Settings Settings icon. Select Discovery Settings Discovery settings icon. Select Credential Profile. The Credential Profile screen opens. Select Create Credential Profile.

Create Credential Profile button on the Credential Profile screen

The Create Credential Profile form opens.

FieldWhat to Enter
Credential Profile NameA unique name to identify this profile
ProtocolSelect HTTP/HTTPS
AuthenticationSelect Basic
UsernameThe Docker host username
PasswordThe password for that account

Select Reset to clear all fields. Select Add Credential Profile to save.

2. Add Container Runtime to a Monitor

Go to Menu. Select Monitor. Select Server & Apps. Open the Linux monitor for the host running Docker. Select the container runtime icon Container runtime icon.

The Add Container Runtime panel opens.

Add Container Runtime panel showing Docker discovery fields

FieldWhat to Enter
Container RuntimeSelect Docker
Credential ProfileSelect the credential profile you just created
TagsTags to assign to the discovered containers
PortThe Docker REST API port. Default is 2375.
Discover Available ContainersToggle on to discover all containers regardless of their current status.

Select Save & Run to save and start discovery immediately. Select Reset to clear all fields.

3. Provision the Discovered Containers

After the discovery run completes, ObserveOps shows all discovered containers. Select the ones you want to add as Monitors.

Select Add Selected Objects to provision the selected containers as monitors. ObserveOps now collects metrics continuously.

To view the monitors, go to Menu. Select Monitor. Select Server & Apps. Open the Linux monitor where you added the Container Runtime. Select the Docker tab.