---
title: "Host Template: Cloud - OpenStack - Keystone"
description: ""
url: "https://docs.itrsgroup.com/docs/opsview/6.11.7/opspacks/cloud-openstack-opspack/cloud-openstack-keystone-host-template/index.html"
---## Overview

Monitor the status of OpenStack services listed by Keystone

This Host Template includes the following Service Checks:

| Service&nbsp;Check&nbsp;Name | Description | Default&nbsp;Thresholds (Metric:&nbsp;Warning,&nbsp;Critical) | UOM |
|:-----------------------------|:------------|:------------------------------------------------:|:---:|
| OpenStack - Keystone - Endpoints Status | The status of OpenStack services listed by the Keystone API | endpoints_not_ok: &#8203;N/A,`0` | N/A |


**Note**


See details about [Monitoring Plugin thresholds here](https://www.monitoring-plugins.org/doc/guidelines.html#THRESHOLDFORMAT).



## Usage Instructions

Please review the overall [Cloud - OpenStack Opspack](https://docs.itrsgroup.com/docs/opsview/6.11.7/opspacks/cloud-openstack-opspack/cloud-openstack-opspack/index.html) documentation for details on prerequisites, known issues, and other necessary configurations that apply to all Host Templates in the Opspack.

### Add this Host Template

Add the **Cloud - OpenStack - Keystone** Host Template to your Opsview Monitor 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**.


**Note**


For more information, refer to the documentation on [Adding Host Templates to Hosts](https://docs.itrsgroup.com/docs/opsview/6.11.7/host/index.html#host-templates).



### Add and configure Variables

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

- [**OPENSTACK_CREDENTIALS**](#openstack_credentials)
- [**OPENSTACK_SERVICE_INTERFACE**](#openstack_service_interface)
- [**OPENSTACK_KEYSTONE_ENDPOINT**](#openstack_keystone_endpoint)
- [**OPENSTACK_AUTH_DOMAIN**](#openstack_auth_domain)
- [**OPENSTACK_PROJECT_DOMAIN**](#openstack_project_domain)
- [**OPENSTACK_SERVICE_BLACKLIST**](#openstack_service_blacklist)
- [**OPENSTACK_CERTIFICATES**](#ssl-certificates-openstack_certificates)


**Note**


For more information, refer to the documentation on [Adding Variables to Hosts](https://docs.itrsgroup.com/docs/opsview/6.11.7/adding-a-new-variable/index.html#adding-a-variable-to-a-host).



### Apply Changes

Apply Changes and the system will now be monitored:

![View Output](https://docscdn.itrsgroup.com/opsview/images/opspacks-cloud-openstack-output-cloud-openstack-keystone.png)

## Additional Information

### Service status codes

Any status code within the inclusive range 200-300 is considered OK. Services are verified to ensure they are running and reporting the available version, and where possible the CURRENT version is also validated. Some services (glance, heat, heat-cfn) do not have a specific endpoint that can be queried and hence may return a status 300 for multiple choices.

### Troubleshooting Permissions

The Opsview 'read' user requires 'GET' access to the following Keystone endpoints with 'system' scope set to 'all':

- /services
- /endpoints


**Note**

For more information regarding OpenStack Keystone policies, refer to [Keystone configuration policy](https://docs.openstack.org/keystone/latest/configuration/policy.html).


## Available Variables

### OPENSTACK_CREDENTIALS

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

| Plugin&nbsp;Parameter | Position&nbsp;in Variable | Name | Description |
|:---------------------:|:-------------------------:|:-----|:------------|
| N/A (Opsview UI Only) | Value | OpenStack Credentials | N/A |
| `--username` | Arg1 | OpenStack Username | The username of your OpenStack monitoring credentials. |
| `--password` | Arg2 | OpenStack Password | The password of your OpenStack monitoring credentials. |

### OPENSTACK_SERVICE_INTERFACE

This is a multi-service check variable. A new service check will be created for each variable added. This way you can have multiple service checks for each different interface on your OpenStack system.

| Plugin&nbsp;Parameter | Position&nbsp;in Variable | Name | Description |
|:---------------------:|:-------------------------:|:-----|:------------|
| `--openstack-service-interface` | Value | OpenStack Service Interface | The interface you wish to monitor, which can be one of three types: admin, internal, or public. Please note, only interfaces that are reachable by Opsview will work. |

### OPENSTACK_KEYSTONE_ENDPOINT

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

| Plugin&nbsp;Parameter | Position&nbsp;in Variable | Name | Description |
|:---------------------:|:-------------------------:|:-----|:------------|
| N/A (Opsview UI Only) | Value | OpenStack Keystone Endpoint | N/A |
| `--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_AUTH_DOMAIN

The Value is not used and therefore can be set to anything. Override the arguments with either your domain name or domain ID to be used for authentication.

| Plugin&nbsp;Parameter | Position&nbsp;in Variable | Name | Description |
|:---------------------:|:-------------------------:|:-----|:------------|
| N/A (Opsview UI Only) | Value | OpenStack Auth Domain | N/A |
| `--auth-domain-name` | Arg1 | OpenStack Auth Domain Name | The domain name to be used for authentication. |
| `--auth-domain-id` | Arg2 | OpenStack Auth Domain ID | The domain ID to be used for authentication. |

### OPENSTACK_PROJECT_DOMAIN

The Value is not used and therefore can be set to anything. Override the arguments with either your domain name or domain ID for your project.

| Plugin&nbsp;Parameter | Position&nbsp;in Variable | Name | Description |
|:---------------------:|:-------------------------:|:-----|:------------|
| N/A (Opsview UI Only) | Value | OpenStack Project Domain | N/A |
| `--project-domain-name` | Arg1 | OpenStack Project Domain Name | The domain name of your project. |
| `--project-domain-id` | Arg2 | OpenStack Project Domain ID | The domain ID for your project. |

### OPENSTACK_SERVICE_BLACKLIST

The Value is not used and therefore can be set to anything. Pass in your list of services to ignore as the first argument.

| Plugin&nbsp;Parameter | Position&nbsp;in Variable | Name | Description |
|:---------------------:|:-------------------------:|:-----|:------------|
| N/A (Opsview UI Only) | Value | OpenStack Service Blacklist | N/A |
| `--service-blacklist` | Arg1 | OpenStack Service Blacklist | A comma-separated list of services. Use this to ignore specific services when checking Keystone listening endpoints. You can find the service names in the Keystone service check output. |

### SSL Certificates: OPENSTACK_CERTIFICATES


**Opsview Cloud**


For Opsview Cloud customers, please contact [ITRS Support](https://www.itrsgroup.com/about/contact) for assistance with setting up certificate files, as they require Orchestrator access.



Additionally, you can use the **OPENSTACK_CERTIFICATES** variable to pass in your SSL certificates for use when connecting to the service provider to gather metrics.

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 |
| `--client-cert` | Arg2 | Client Certificate Path | Path to the Client Certificate |
| `--client-key` | Arg3 | Client Key Path | Path to the Client Key |

## Plugin help

Plugin: `check_ostack`


**Secure Args**


This plugin uses the [Secure Args](https://docs.itrsgroup.com/docs/opsview/6.11.7/configuration/secure-arguments/index.html) feature for argument passing.



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&nbsp;Check&nbsp;Name | Mode |
|:-----------------------------|:-----|
| OpenStack - Keystone - Endpoints Status | `OpenStack.Keystone.Services` |


