Agents Administration - Tests
 

Default Parameters for CorOSStatusTest

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.

This page depicts the default parameters that need to be configured for the CorOSStatusTest.

  • The TEST PERIOD list box helps the user to decide how often this test needs to be executed.

  • By default, USE SUDO flag is set to No. This indicates that, by default, this test will report the metrics by executing the crictl command. However, in some highly secure environments, the eG agent installed 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.

  • Once the necessary values have been provided, clicking on the UPDATE button will register the changes made.

When changing default configurations of tests, the values with “$” indicate variables that will be replaced by the eG system according to the specific server being managed - for instance, $hostName is the host/nickname of the target host, $port is the port number of the server being monitored. E.g., for a server xyz:80, $hostName will be changed automatically by the eG manager to “xyz*” and $port will be changed to “80” when configuring a test.