Podman Service Status Test

Whenever users complain that they are unable to access the containers and pods launched by the Podman container engine, you may want to know whether it is owing to a bad network connection or between the user terminal and the Podman container engine or owing to abrupt failure of the Podman service. Using this test, you can track the current status of the Podman service and be promptly alerted when it is not loaded or inactive.

Target of the test : A Podman Container Engine

Agent deploying the test : An internal agent

Outputs of the test : One set of results for the target Podman Container Engine being monitored.

Configurable parameters for the test
Parameter Description

Test Period

How often should the test be executed.

Host

The IP address of the host for which this test is to be configured.

Port

The port number at which the specified host listens. The default is 2375.

Use SUDO

By default, this flag is set to No. This indicates that, by default, this test will report the metrics of this test by executing the crictl command. However, in some highly secure environments, the eG agent install user may not have the permissions to execute this command directly. In such cases, do the following:

  • Edit the SUDOERS file on the target host and append an entry of the following format to it:

    <eG_agent_install_user> ALL=(ALL) NOPASSWD:<Command>

    For instance, if the eG agent install user is eguser, then the entries in the sudoers file should be:

    eguser ALL=(ALL) NOPASSWD: crictl

  • Finally, save the file.
  • Then, when configuring the test using the eG admin interface, set this parameter to Yes. This will enable the eG agent to execute the sudo crictl command  and retrieve the relevant metrics for this test.
Measurements made by the test
Measurement Description Measurement Unit Interpretation

Is service installed?

Indicates whether/not the Podman service is installed.

 

The values reported by this measure and their numeric equivalents are available in the table below:

Measure Value Numeric Value
No 0
Yes 1

Note:

This measure reports the Measure Values listed in the table above while indicating whether the Podman service is installed or not.

Is service loaded?

Indicates whether/not the Podman service is loaded.

 

The values reported by this measure and their numeric equivalents are available in the table below:

Measure Value Numeric Value
No 0
Yes 1

Note:

This measure reports the Measure Values listed in the table above while indicating whether the Podman service is loaded or not.

Podman Service status

Indicates the current state of the Podman service.

 

The values reported by this measure and their numeric equivalents are available in the table below:

Measure Value Numeric Value
Inactive 0
Active 1

Note:

This measure reports the Measure Values listed in the table above while indicating whether the Podman service is active or not.

If the Podman service is currently running, then the value of this measure is reported as Active and if the Podman service is not running, then the value of this measure is reported as In active.