How to Monitor OpenStack KVM using eG Enterprise?

Once you obtained the required details for monitoring the OpenStack KVM hypervisor, follow the broad steps outlined below to manage and then monitor the target hypervisor using eG Enterprise:

  • Add an OpenStack KVM component using eG Admin interface
  • Configure tests for the managed OpenStack KVM component

These steps are explained in the following sections.

Adding an OpenStack KVM Component

The OpenStack KVM hypervisor cannot be automatically discovered by eG Enterprise. This implies that you will have to manually add an OpenStack KVM component into the eG Enterprise system using eG admin interface. Follow the steps below to achieve the same:

  1. Login to the eG admin interface.
  2. Click on the Add Component button in the right corner of the Components at a Glance page that appears or follow the Infrastructure -> Components -> Add/Modify menu sequence.
  3. The Components page will then appear. In the Components page, select OpenStack KVM as the Component type and click the Add New Component button.
  4. Figure 1 will then appear.

    Figure 1 : Adding an OpenStack KVM component

  5. Specify the Host IP/Name and the Nick name for the OpenStack KVM component in Figure 1. Then, provide a Nick name for the same.
  6. Next, specify the port number in the Port Number text box.
  7. By default, the OpenStack KVM can only be monitored in an agent-less manner. Therefore, select the Agentless check box, then do the following:

    • Pick Linux as the Other.
    • Set the Mode to Other.
    • Select the Remote agent that will be monitoring the target OpenStack KVM.
    • Choose an external agent by picking an option from the External agents list box.
    • Finally, click the Add button to add the OpenStack KVM for monitoring ().

  8. Once the OpenStack KVM component is added successfully, you will be directed to the Components at a Glance page. Using the options provided against the newly added component, you can modify, unmanage or delete the component. In addition, you can also configure the tests, set thresholds and maintenance policies, and change the IP address.

Configuring the tests

To configure the tests mapped to the OpenStack KVM component, click on the Configure tests icon. This will lead you to the Specific Test Configuration page where the list of tests mapped to the target component will be listed as shown in Figure 2.

Figure 2 : The list of tests to be configured for the target hypervisor

Click on any of the tests to configure it. For instance, lets say, you want to configure the Hypervisor Details - OpenStack test. Clicking on the test name in Figure 2 will invoke the parameters to be configured as shown in Figure 3.

Figure 3 : Configuring the Hypervisor Details - OpenStack test

To know what parameters this test takes and how to configure it, refer to the Hypervisor Details - OpenStack Test. Once the test is configured, click the Update button to save the test configuration. Then, switch to Monitor interface to view the metrics reported by the OpenStack KVM component.