The following sections describe how to discover OpenStack resources for monitoring by SL1 using the OpenStack PowerPack:
Creating an OpenStack Virtual Device
To discover OpenStack resources, you must first create a virtual device that represents the root device for the OpenStack domain. A virtual device is a user-defined container that represents a device or service that cannot be discovered by SL1. You can use the virtual device to store information gathered by policies or Dynamic Applications.
To create a virtual device that represents your OpenStack root device:
- Go to the Device Manager page (Devices > Classic Devices, or Registry > Devices > Device Manager in the classic SL1 user interface).
- Click the Create Virtual Device from the menu. The Virtual Device modal page appears. button and select
- Complete the following fields:
- Device Name. Type a name for the device.
- Organization. Select the organization for this device. The organization you associate with the device limits the users that will be able to view and edit the device. Typically, only members of the organization will be able to view and edit the device.
- Device Class. Select OpenStack | Cloud Virtual Service.
- Collector. Select the collector group that will monitor the device.
- Click the button to create the virtual device.
Discovering OpenStack Component Devices
To discover and model the components of your OpenStack domain, you must manually align the "OpenStack: Account Discovery" Dynamic Application with the OpenStack virtual device. When you do so, the "OpenStack: Account Discovery" Dynamic Application uses the virtual device as the root component device representing the OpenStack account and creates child component devices for all of the resources used by that account.
To align the "OpenStack: Account Discovery" Dynamic Application to your OpenStack virtual device:
- Go to the Device Manager page (Devices > Classic Devices, or Registry > Devices > Device Manager in the classic SL1 user interface).
- Click the wrench icon (
) for your OpenStack virtual device.
- In the Device Administration panel, click the tab. The Dynamic Application Collections page appears.
- Click the Add Dynamic Application from the menu. button and select
- On the Dynamic Application Alignment modal page:
- In the Dynamic Applications field, select OpenStack: Account Discovery.
- In the Credentials field, select the credential you created for OpenStack.
- Click the Dynamic Application with the OpenStack virtual device and discover the OpenStack domain and resources. button to align the
Viewing OpenStack Component Devices
In addition to the Device Manager page (Devices > Classic Devices, or Registry > Devices > Device Manager in the classic SL1 user interface), you can also view OpenStack component devices in the following place in the user interface:
- The Device Components page (Devices > Device Components) displays a list of all root devices and component devices discovered by SL1 in an indented view, so you can easily view the hierarchy and relationships between child devices, parent devices, and root devices. To view the component devices associated with an OpenStack service, find the OpenStack cloud virtual service device and click its plus icon (+).
Relationships Between Component Devices
In addition to parent/child relationships between component devices, SL1 also creates relationships between the following component devices:
- Virtual machines and hypervisors
- Virtual machines and networks