You are here

OpenStack Nova Hypervisor Monitoring

Requires Opsview Cloud or Opsview Monitor 6.4

This Host Template is part of the Openstack Monitoring Opspack

check_circle
Opsview Supported

Host Template: Cloud - OpenStack - Nova Hypervisor

Monitor the status of your OpenStack Hypervisors.

This Host Template includes the following Service Checks:

Service Check Name Description Default Thresholds (Warning, Critical) UOM
OpenStack - Nova Hypervisor - Active State Summary of hypervisor state hypervisors_not_ok=,0 N/A
OpenStack - Nova Hypervisor - Available Disk Space Total disk space available across the selected hypervisors N/A B
OpenStack - Nova Hypervisor - Available Memory Total RAM available across the selected hypervisors N/A B
OpenStack - Nova Hypervisor - Services Summary of services running across the selected hypervisors services_not_ok=,0 N/A
OpenStack - Nova Hypervisor - System Load Count of all current hypervisor operations N/A N/A
OpenStack - Nova Hypervisor - Virtual CPUs Total number of virtual CPUs across the selected hypervisors N/A N/A
OpenStack - Nova Hypervisor - Virtual Machines Total number of virtual machines running on the selected hypervisors N/A N/A

Usage Instructions

Step 1: Add this Host Template

Add the Cloud - OpenStack - Nova Hypervisor Host Template to your Opsview Cloud host. If the resource you're monitoring has no hostname or public IP, then open the Advanced settings pane and change Host Check Command to Always assumed to be UP.

For more information, refer to Opsview Knowledge Center - Adding Host Templates to Hosts.

Step 2: Add and configure variables required for this Host Template

The Service Checks in this Host Template use the following variables, and they will be added to your Opsview Monitor instance when you import the Opspack:

OPENSTACK_SERVICE_ENDPOINT

The Value is not used and therefore can be set to anything.

Parameter Position in Variable Name Description
--openstack-service-protocol Arg1 OpenStack Service Protocol The protocol (HTTP/HTTPS) that the OpenStack service is listening on.
--openstack-service-address Arg2 OpenStack Service Address The IP or hostname that the OpenStack service is listening on.
--openstack-service-port Arg3 OpenStack Service Port The port that the OpenStack service is listening on.
--openstack-service-version Arg4 OpenStack Service Version The version of the OpenStack service.

OPENSTACK_CREDENTIALS

The Value is not used and therefore can be set to anything.

Parameter Position in Variable Name Description
--username Arg1 OpenStack Username The username of your OpenStack monitoring credentials.
--password Arg2 OpenStack Password The password of your OpenStack monitoring credentials.
--domain Arg3 OpenStack Domain The OpenStack domain you wish to monitor.

OPENSTACK_KEYSTONE_ENDPOINT

The Value is not used and therefore can be set to anything.

Parameter Position in Variable Name Description
--openstack-keystone-service-protocol Arg1 OpenStack Keystone Protocol The protocol (HTTP/HTTPS) that the OpenStack keystone service is listening on.
--openstack-keystone-service-address Arg2 OpenStack Keystone Address The IP or hostname that the OpenStack keystone service is listening on.
--openstack-keystone-service-port Arg3 OpenStack Keystone Port The port that the OpenStack keystone service is listening on.

OPENSTACK_PROJECT

Parameter Position in Variable Name Description
--project Value OpenStack Project The OpenStack project you wish to monitor.

OPENSTACK_AVAILABILITY_ZONE

To monitor Hypervisors in an Availability Zone, do not supply the 'Hypervisor Name' or 'Host Aggregate' variables.

Parameter Position in Variable Name Description
--zone Value OpenStack Availability Zone The name of the Availability Zone to monitor a set of hypervisors.

OPENSTACK_HOST_AGGREGATE

To monitor Hypervisors in an Aggregate, do not supply the 'Hypervisor Name' or 'Availability Zone' variables.

Parameter Position in Variable Name Description
--aggregate Value OpenStack Host Aggregate The name of the Host Aggregate to monitor a set of hypervisors.

OPENSTACK_HYPERVISOR_NAME

To monitor a single Hypervisor, do not supply the 'Availability Zone' or 'Host Aggregate' variables.

Parameter Position in Variable Name Description
--hypervisor-name Value OpenStack Hypervisor Name The name of the hypervisor to monitor; by default all hypervisors will be monitored.

For more information, refer to Opsview Knowledge Center - Adding Variables to Hosts.

For mode-specific help, run the plugin with the -h -m <mode> flags. This will list the required and optional Variable Arguments for that mode. The appropriate mode for each Service Check is listed here:

Service Check Name Mode
OpenStack - Nova Hypervisor - Active State OpenStack.Nova.Hypervisor.State
OpenStack - Nova Hypervisor - Available Disk Space OpenStack.Nova.Hypervisor.Disk
OpenStack - Nova Hypervisor - Available Memory OpenStack.Nova.Hypervisor.Memory
OpenStack - Nova Hypervisor - Services OpenStack.Nova.Hypervisor.Services
OpenStack - Nova Hypervisor - System Load OpenStack.Nova.Hypervisor.Load
OpenStack - Nova Hypervisor - Virtual CPUs OpenStack.Nova.Hypervisor.VCPUs
OpenStack - Nova Hypervisor - Virtual Machines OpenStack.Nova.Hypervisor.VMs

SSL Certificates

Additionally, if ssl verification is required, you can use the following variable to pass in your SSL certificates for use when connecting to the service provider to gather metrics:

OPENSTACK_CERTIFICATES

The Value is not used and therefore can be set to anything. Override the arguments with your certificates.

Parameter Position in Variable Name Description
--ca-path Arg1 CA Certificate Path Path to the CA Certificate. Optional, only required if server verification is needed.
--client-cert Arg2 Client Certificate Path Path to the Client Certificate. Optional, only required if client verification is needed.
--client-key Arg3 Client Key Path Path to the Client Key. Optional, only required if client verification is needed.

Step 3: Apply changes and the system will now be monitored

OpenStack Nova Hypervisor Monitoring

Troubleshooting Permissions

The Opsview 'read' user requires 'GET' access to the following Nova endpoints with minimum scope of 'project':

  • /os-hypervisors/detail
  • /os-availability-zone/detail
  • /os-aggregates
  • /os-services

For more information regarding OpenStack Nova policies, refer to Nova configuration policy.