Agents Administration - Tests
 

Default Parameters for RHEVMEventsTest

This test enables administrators to promptly capture and report the count and details of critical information, error, and warning events that are generated on the RHEV manager.

By default, the test monitors a pre-defined set of events belonging to pre-configured event categories. You can override this default setting by including/excluding specific events from an event category or by adding more categories. To achieve this, do the following:

  • Edit the eg_tests.ini file in the <EG_INSTALL_DIR>\manager\config directory.
  • In the [RhevEvents] section of this file, you will find the event categories that are currently monitored by RHEV Events test, and the individual events of each category. The format of these entries is:
    RHEVEventsTest:<EventCategory>=<Comma-separated list of eventsIDs grouped under this category>
  • To add a new event category to the list, you just need to append a line to the [RhevEvents] section in the format mentioned above. For instance, say, you want to include a category named ImportExportEvents to event categories that pre-exist. In this case, you will have to insert a line in the [RhevEvents] section for this category, as mentioned below:

    RHEVEventsTest:ImportExportEvents=1150,1151,1152,1153


  • Finally, save the file.

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

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

  • In the RHEL MGR USER and RHEL MGR PASSWORD text boxes, specify the credentials of the user with read-only access to the Restful API on the RHEV manager. To know how to create a read-only role and assign it to a user, Click here.

  • Confirm the password by retyping it in the CONFIRM PASSWORD text box.

  • Specify the domain to which the RHEV Manager belongs to in the RHEL MANAGER DOMIAN text box. By default, internal is displayed here.

  • If the RHEV manager to which the eG agent should connect is SSL-enabled, then set the SSL flag to Yes. If not, set it to No.

  • Once the necessary values have been entered, 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.