---
title: Charmhub | Deploy Prometheus Openstack Exporter using Charmhub - The Open Operator
  Collection
description: Deploy the latest version of Prometheus Openstack Exporter on any cloud.
url: https://charmhub.io/prometheus-openstack-exporter/configurations
---

# Prometheus Openstack Exporter

[Llama (LMA) Charmers](https://charmhub.io/publisher/llama-charmers "View all packages from Llama (LMA) Charmers")

* [Llama (LMA) Charmers](https://charmhub.io/publisher/llama-charmers "View all packages from Llama (LMA) Charmers")
* [Cloud](https://charmhub.io/?filter=cloud)
* [Monitoring](https://charmhub.io/?filter=monitoring)

Platform:

22.04

20.04

18.04

16.10

16.04

14.04

stable 23.10

```
juju deploy prometheus-openstack-exporter
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [cache-refresh-interval](https://charmhub.io/prometheus-openstack-exporter/configurations#cache-refresh-interval)
* [cpu-allocation-ratio](https://charmhub.io/prometheus-openstack-exporter/configurations#cpu-allocation-ratio)
* [disk-allocation-ratio](https://charmhub.io/prometheus-openstack-exporter/configurations#disk-allocation-ratio)
* [extra-nrpe-args](https://charmhub.io/prometheus-openstack-exporter/configurations#extra-nrpe-args)
* [log\_level](https://charmhub.io/prometheus-openstack-exporter/configurations#log_level)
* [min\_schedulable\_instances](https://charmhub.io/prometheus-openstack-exporter/configurations#min_schedulable_instances)
* [nagios\_context](https://charmhub.io/prometheus-openstack-exporter/configurations#nagios_context)
* [nagios\_servicegroups](https://charmhub.io/prometheus-openstack-exporter/configurations#nagios_servicegroups)
* [os-credentials](https://charmhub.io/prometheus-openstack-exporter/configurations#os-credentials)
* [port](https://charmhub.io/prometheus-openstack-exporter/configurations#port)
* [ram-allocation-ratio](https://charmhub.io/prometheus-openstack-exporter/configurations#ram-allocation-ratio)
* [schedulable-instance-size](https://charmhub.io/prometheus-openstack-exporter/configurations#schedulable-instance-size)
* [snap\_channel](https://charmhub.io/prometheus-openstack-exporter/configurations#snap_channel)
* [snapd\_refresh](https://charmhub.io/prometheus-openstack-exporter/configurations#snapd_refresh)
* [ssl\_ca](https://charmhub.io/prometheus-openstack-exporter/configurations#ssl_ca)
* [use\_nova\_volumes](https://charmhub.io/prometheus-openstack-exporter/configurations#use_nova_volumes)
* [wait\_time](https://charmhub.io/prometheus-openstack-exporter/configurations#wait_time)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* cache-refresh-interval | int

  Default: 300

  Time in seconds between cache refresh
* cpu-allocation-ratio | float

  Default: 4.0

  Same as nova-cloud-controller
* disk-allocation-ratio | float

  Default: 1.0

  Similar to other allocation-ratios
* extra-nrpe-args | string

  Additional arguments to set for the check\_http Nagios nrpe check. E.g.
  if you wish to increase timeouts, set to '-w 20 -c 30'.
* log\_level | string

  Default: INFO

  Set log\_level to the specified level (default: INFO).
* min\_schedulable\_instances | int

  Default: 100

  When using the prometheus-rules relation, minimum number of schedulable instances
  allowed before sending an alert.
* nagios\_context | string

  Default: juju

  A string that will be prepended to instance name to set the host name
  in nagios. So for instance the hostname would be something like:
  juju-myservice-0
  If you're running multiple environments with the same services in them
  this allows you to differentiate between them.
* nagios\_servicegroups | string

  Default: juju

  Comma separated list of nagios servicegroups for the graphite check
* os-credentials | string

  YAML string with admin user to use to query openstack APIs, e.g.
  "{ username: $OS\_USERNAME, password: $OS\_PASSWORD,
  tenant\_name: $OS\_TENANT\_NAME, region\_name: $OS\_REGION\_NAME,
  auth\_url: '$OS\_AUTH\_URL' }"
* port | int

  Default: 9183

  Port where the exporter listens
* ram-allocation-ratio | float

  Default: 1.0

  Same as nova-cloud-controller
* schedulable-instance-size | string

  Default: 1, 2048, 20

  Default "reference" instance size as: VCPU, RAM(MB), DISK(GB).
  E.g.: 1, 2048, 20
* snap\_channel | string

  Default: stable

  If install\_method is set to "snap" this option controlls channel name.
  Supported values are: "stable", "candidate", "beta" and "edge"
* snapd\_refresh | string

  How often snapd handles updates for installed snaps. The default (an empty string) is 4x per day. Set to "max" to check once per month based on the charm deployment date. You may also set a custom string as described in the 'refresh.timer' section here:
  https://forum.snapcraft.io/t/system-options/87
* ssl\_ca | string

  TLS CA certficate, to be added as OS\_CACERT
* use\_nova\_volumes | string

  Default: True

  Value that will be added to prometheus-openstack-exporter.yaml.
  Set to "False" for clouds which don't have Cinder / Nova volumes.
* wait\_time | string

  Default: 5m

  When exporting Prometheus alerting rules, how long a condition should be
  true before firing an alert. String, e.g. 5m, 1h, etc.
