Adding Container Runtime for Monitoring
Overview
In order to monitor Container Runtimes, you will need to add Docker to Motadata AIOps. This guide will walk you through the entire process of adding and enabling a Container Runtime device(s) to Motadata AIOps.
At a high level, this process includes creating a credential profile and adding Container Runtime to its corresponding provisioned monitor. Once the Container Runtime has been added, you can then start monitoring it.
This will enable Motadata AIOps to continuously monitor the resources and generate alerts and insights based on their performance metrics.
Supported Container Runtime
Container Runtime Supported |
---|
Docker |
Adding a Docker
Motadata AIOps supports discovery of Docker Containers. The discovery is facilitated through a Linux monitor.
1. Create a Credential Profile
We will start by creating a credential profile for the device we are trying to add.
Navigation
Go to Menu. Select Settings . After that, Go to Discovery Settings
and select Credential Profile. The credential profile screen is displayed. Select Create Credential Profile to create a new credential profile.
A pop-up for entering the credential profile details is displayed.
Credential Profile Parameters
Enter the required details in the pop-up as follows:
Field | Description |
---|---|
Credential Profile Name | Provide a unique Credential Profile Name. This name is used to identify a credential profile. |
Protocol | Select HTTP/HTTPS as Protocol from the drop-down. The option to provide the credential details is then displayed based on the protocol selected. |
Authentication | Select Basic authentication type using the dropdown menu. |
Username and Password | Enter these details for the virtual device you want to monitor. |
Select Reset to erase all the current field values entered in the pop-up, if required.
Select Create Credential Profile to create the credential profile in the system. The credential profile is now created.
You can view the newly created profile in the credential profile interface by using the Search option available above the list of profiles.
2. Add Container Runtime
After creating the credential profile, you will need to add the Container Runtime to start monitoring it.
Navigation
Go to menu. Select Monitors. After that, select the Server & Apps option. Then, select the monitor from which you wish to monitor the Container. Finally, click on the .
A side pop-up to add Container Runtime will appear. Let's look at the setup for Docker.
Adding Docker Discovery Parameters
Enter the required details in the screen as follows:
Field | Description |
---|---|
Container Runtime | Select Docker using the dropdown. |
Credential Profile | Select an already created Credential Profile to assign it to the discovery profile. You can also create a new credential profile from this screen using the Create Credential Profile button. |
Tags | Write a new tag or select one using the dropdown to assign one to the Docker. |
Port | Define the port number to establish connection. The default value is 2375. |
Discover Available Containers | When toggled on, Motadata AIOps will discover all containers irrespective of their status. |
Select Save & Run to apply the parameters and run the Discovery.
Select Reset to clear all fields and start afresh.
3. Provision Discovered Containers
After initiating the discovery of Container Runtime, AIOps starts the process to look for all available Containers.
Once the discovery execution is complete, the list of all containers discovered is displayed. Select the containers that you want to listed as Monitors in the system.
Click on Add Selected Objects to add the selected Dockers as Monitors. These Container Runtimes listed as Monitors will now be monitored further by AIOps.
These devices can be viewed under the Monitor tab from the Main Menu. Select the Monitor tab from the main menu. After that, navigate to the monitor you have added the Docker. Finally, click on the .