CRIO Service Status Test

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

Target of the test : A CRIO Container Engine

Agent deploying the test : A containerized agent

Outputs of the test : One set of results for the target CRIO 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 2379.

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 CRIO 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 CRIO service is installed or not. However, in the graph of this measure, this measure is indicated using only the Numeric Values listed in the above table.

Is service loaded?

Indicates whether/not the CRIO 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 CRIO service is loaded or not. However, in the graph of this measure, this measure is indicated using only the Numeric Values listed in the above table.

Service status

Indicates the current state of the CRIO service.

 

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

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 CRIO service is active or not. However, in the graph of this measure, the state is indicated using only the Numeric Values listed in the above table.