You are here

OpenStack Monitoring

Requires Opsview Cloud
Opsview Supported

Cloud - OpenStack Opspack

OpenStack is a cloud operating system that controls large pools of compute, storage, and networking resources throughout a datacenter, all managed through a dashboard that gives administrators control while allowing their users to provision resources through a web interface.

What You Can Monitor

This Opspack provides Host Templates to monitor installed OpenStack services.

Host Templates

The following Host Templates are currently provided by this Opspack. Click the name of each Host Template to be taken to the relevant information page, including a full Service Check description and usage instructions.


OpenStack versions Rocky, Train or Ussuri. Alternative versions may be compatible.

Setup OpenStack for Monitoring

Creating the Opsview Read User

For Opsview to have sufficient access to retrieve metrics, it is recommended to create a user with the 'reader' role with system scope 'all'. Otherwise permissions will need to be granted via the services policy configurations. You can achieve this using the following OpenStack-CLI command:

openstack user create --domain default --password secret --description "Opsview User" opsview 
openstack role add --user opsview --system all reader

To allow Opsview to check the services registered in the Keystone Service Catalogue, the API default policy method must be overridden or Opsview will need the full administrative credentials of your OpenStack system.

If you configure your system using 'OpenStack-Ansible' then you can add the following lines to your user_variables.yml to allow the Opsview user to list endpoints:

    identity:list_endpoints: "role:reader and system_scope:all"

Get Domain and Service variables

To retrieve the information for the OpenStack variables. Simply log into your OpenStack system, and select 'API Access'. You can then select which domain/project and view the the API details for each installed service.

OpenStack API

You can then copy the information you need to the corresponding host variables in Opsview. For example, to monitor the Keystone service in Opsview:

OpenStack Keystone Example