Chapter 11. Telemetry
The common configurations for shared services and libraries, such as database connections and RPC messaging, are described at Common configurations.
11.1. Telemetry Configuration Options Copy linkLink copied to clipboard!
The Telemetry service collects measurements within OpenStack. Its various agents and services are configured in the /etc/ceilometer/ceilometer.conf
file.
11.1.1. Description of Configuration Options Copy linkLink copied to clipboard!
The following tables provide a comprehensive list of the Telemetry configuration options.
Configuration option = Default value | Description |
---|---|
[oslo_middleware] | |
| (Boolean) Whether the application is behind a proxy or not. This determines if the middleware should parse the headers or not. |
| (Integer) The maximum body size for each request, in bytes. |
| (String) DEPRECATED: The HTTP Header that will be used to determine what the original request protocol scheme was, even if it was hidden by a SSL termination proxy. |
Configuration option = Default value | Description |
---|---|
[service_credentials] | |
| (Unknown) Config Section from which to load plugin specific options |
| (Unknown) Authentication type to load |
| (String) PEM encoded Certificate Authority to use when verifying HTTPs connections. |
| (String) PEM encoded client certificate cert file |
| (Boolean) Verify HTTPS connections. |
| (String) Type of endpoint in Identity service catalog to use for communication with OpenStack services. |
| (String) PEM encoded client certificate key file |
| (String) Region name to use for OpenStack service endpoints. |
| (Integer) Timeout value for http requests |
Configuration option = Default value | Description |
---|---|
[collector] | |
| (Integer) Number of notification messages to wait before dispatching them |
| (Integer) Number of seconds to wait before dispatching sampleswhen batch_size is not reached (None means indefinitely) |
| (String) Address to which the UDP socket is bound. Set to an empty string to disable. |
| (Port number) Port to which the UDP socket is bound. |
| (Integer) Number of workers for collector service. default value is 1. |
[dispatcher_file] | |
| (Integer) The max number of the files to keep. |
| (String) Name and the location of the file to record meters. |
| (Integer) The max size of the file. |
Configuration option = Default value | Description |
---|---|
[DEFAULT] | |
| (Integer) Size of executor thread pool. |
| (Integer) Specify a timeout after which a gracefully shutdown server will exit. Zero value means endless wait. Mutable This option can be changed without restarting. |
| (Boolean) Enables or disables logging values of all registered options when starting a service (at DEBUG level). Mutable This option can be changed without restarting. |
[healthcheck] | |
| (List) Additional backends that can perform health checks and report that information back as part of a request. |
| (Boolean) Show more detailed information as part of the response |
| (String) Check the presence of a file to determine if an application is running on a port. Used by DisableByFileHealthcheck plugin. |
| (List) Check the presence of a file based on a port to determine if an application is running on a port. Expects a "port:path" list of strings. Used by DisableByFilesPortsHealthcheck plugin. |
| (String) DEPRECATED: The path to respond to healtcheck requests on. |
Configuration option = Default value | Description |
---|---|
[DEFAULT] | |
| (Boolean) DEPRECATED: Allow novaclient’s debug log output. (Use default_log_levels instead) |
Configuration option = Default value | Description |
---|---|
[dispatcher_http] | |
| (String) The target for event data where the http request will be sent to. If this is not set, it will default to same as Sample target. |
| (String) The target where the http request will be sent. If this is not set, no data will be posted. For example: target = http://hostname:1234/path |
| (Integer) The max time in seconds to wait for a request to timeout. |
| (String) The path to a server certificate or directory if the system CAs are not used or if a self-signed certificate is used. Set to False to ignore SSL cert verification. |
Configuration option = Default value | Description |
---|---|
[DEFAULT] | |
| (Multi-valued) Dispatchers to process event data. |
| (Multi-valued) Dispatchers to process metering data. |
Configuration option = Default value | Description |
---|---|
[event] | |
| (String) Configuration file for event definitions. |
| (Boolean) Drop notifications if no event definition matches. (Otherwise, we convert them with just the default traits) |
| (Multi-valued) Store the raw notification for select priority levels (info and/or error). By default, raw details are not captured. |
[notification] | |
| (Boolean) Acknowledge message when event persistence fails. |
| (Integer) Number of workers for notification service, default value is 1. |
| (Boolean) Enable workload partitioning, allowing multiple notification agents to be run simultaneously. |
Configuration option = Default value | Description |
---|---|
[DEFAULT] | |
| (String) Exchange name for ceilometer notifications. |
| (String) Exchange name for Cinder notifications. |
| (String) Exchange name for DNS service notifications. |
| (String) Exchange name for Glance notifications. |
| (String) Exchange name for Heat notifications |
| (Multi-valued) Exchanges name to listen for notifications. |
| (String) Exchange name for Ironic notifications. |
| (String) Exchange name for Keystone notifications. |
| (String) Exchange name for Magnum notifications. |
| (String) Exchange name for Neutron notifications. |
| (String) Exchange name for Nova notifications. |
| (String) Exchange name for Data Processing notifications. |
| (String) Source for samples emitted on this instance. |
| (String) Exchange name for Swift notifications. |
| (String) Exchange name for DBaaS notifications. |
Configuration option = Default value | Description |
---|---|
[DEFAULT] | |
| (String) Inspector to use for inspecting the hypervisor layer. Known inspectors are libvirt, xenapi and powervm. |
| (String) Libvirt domain type. |
| (String) Override the default libvirt URI (which is dependent on libvirt_type). |
Configuration option = Default value | Description |
---|---|
[ipmi] | |
| (Integer) Number of retries upon Intel Node Manager initialization failure |
| (Integer) Tolerance of IPMI/NM polling failures before disable this pollster. Negative indicates retrying forever. |
Configuration option = Default value | Description |
---|---|
[notification] | |
| (Integer) Number of notification messages to wait before publishing them. Batching is advised when transformations areapplied in pipeline. |
| (Integer) Number of seconds to wait before publishing sampleswhen batch_size is not reached (None means indefinitely) |
| (Boolean) WARNING: Ceilometer historically offered the ability to store events as meters. This usage is NOT advised as it can flood the metering database and cause performance degradation. |
| (Multi-valued) Messaging URLs to listen for notifications. Example: rabbit://user:pass@host1:port1[,user:pass@hostN:portN]/virtual_host (DEFAULT/transport_url is used if empty). This is useful when you have dedicate messaging nodes for each service, for example, all nova notifications go to rabbit-nova:5672, while all cinder notifications go to rabbit-cinder:5672. |
| (Integer) Number of queues to parallelize workload across. This value should be larger than the number of active notification agents for optimal results. WARNING: Once set, lowering this value may result in lost data. |
Configuration option = Default value | Description |
---|---|
[matchmaker_redis] | |
| (Integer) Time in ms to wait before the transaction is killed. |
| (String) DEPRECATED: Host to locate redis. Replaced by [DEFAULT]/transport_url |
| (String) DEPRECATED: Password for Redis server (optional). Replaced by [DEFAULT]/transport_url |
| (Port number) DEPRECATED: Use this port to connect to redis host. Replaced by [DEFAULT]/transport_url |
| (String) Redis replica set name. |
| (List) DEPRECATED: List of Redis Sentinel hosts (fault tolerance mode), e.g., [host:port, host1:port … ] Replaced by [DEFAULT]/transport_url |
| (Integer) Timeout in ms on blocking socket operations. |
| (Integer) Time in ms to wait between connection attempts. |
Configuration option = Default value | Description |
---|---|
[rgw_admin_credentials] | |
| (String) Access key for Radosgw Admin. |
| (String) Secret key for Radosgw Admin. |
Configuration option = Default value | Description |
---|---|
[service_types] | |
| (String) Glance service type. |
| (String) Kwapi service type. |
| (String) Neutron service type. |
| (String) Neutron load balancer version. |
| (String) Nova service type. |
| (String) Radosgw service type. |
| (String) Swift service type. |
Configuration option = Default value | Description |
---|---|
[storage] | |
| (Integer) Maximum number of connection retries during startup. Set to -1 to specify an infinite retry count. |
| (Integer) Interval (in seconds) between retries of connection. |
Configuration option = Default value | Description |
---|---|
[DEFAULT] | |
| (String) Swift reseller prefix. Must be on par with reseller_prefix in proxy-server.conf. |
Configuration option = Default value | Description |
---|---|
[hardware] | |
| (String) Configuration file for defining hardware snmp meters. |
| (String) SNMPd v3 authentication algorithm of all the nodes running in the cloud |
| (String) SNMPd user name of all nodes running in the cloud. |
| (String) SNMPd v3 authentication password of all the nodes running in the cloud. |
| (String) SNMPd v3 encryption password of all the nodes running in the cloud. |
| (String) SNMPd v3 encryption algorithm of all the nodes running in the cloud |
| (String) URL scheme to use for hardware nodes. |
Configuration option = Default value | Description |
---|---|
[DEFAULT] | |
| (String) Exchange name for Messaging service notifications. |
11.1.2. New, updated, and deprecated options in Ocata for Telemetry Copy linkLink copied to clipboard!
Option = default value | (Type) Help string |
---|---|
| (IntOpt) Specify a timeout after which a gracefully shutdown server will exit. Zero value means endless wait. |
| (BoolOpt) Enables or disables logging values of all registered options when starting a service (at DEBUG level). |
Deprecated option | New Option |
---|---|
|
|
|
|
|
|
11.2. Telemetry Alarming Configuration Options Copy linkLink copied to clipboard!
The Telemetry Alarming services trigger alarms when the collected metering or event data break the defined rules. Their options are configured in the /etc/aodh/aodh.conf
file.
11.2.1. Description of Configuration Options Copy linkLink copied to clipboard!
The following tables provide a comprehensive list of the Telemetry Alarming configuration options.
Configuration option = Default value | Description |
---|---|
[api] | |
| (Integer) Maximum count of actions for each state of an alarm, non-positive number means no limit. |
| (Boolean) DEPRECATED: Enable deprecated combination alarms. Combination alarms are deprecated. This option and combination alarms will be removed in Aodh 5.0. |
| (String) Configuration file for WSGI definition of API. |
| (Integer) Maximum number of alarms defined for a project. |
| (Integer) Maximum number of alarms defined for a user. |
[oslo_middleware] | |
| (Boolean) Whether the application is behind a proxy or not. This determines if the middleware should parse the headers or not. |
| (Integer) The maximum body size for each request, in bytes. |
| (String) DEPRECATED: The HTTP Header that will be used to determine what the original request protocol scheme was, even if it was hidden by a SSL termination proxy. |
Configuration option = Default value | Description |
---|---|
[DEFAULT] | |
| (Integer) The number of seconds to extend the evaluation windows to compensate the reporting/ingestion lag. |
| (Integer) Period of evaluation cycle, should be >= than configured pipeline interval for collection of underlying meters. |
| (Integer) TTL of event alarm caches, in seconds. Set to 0 to disable caching. |
| (Integer) Size of executor thread pool. |
| (Integer) Timeout seconds for HTTP requests. Set it to None to disable timeout. |
| (String) The topic that aodh uses for alarm notifier messages. |
| (Boolean) Record alarm change events. |
| (String) SSL CA_BUNDLE certificate for REST notifier |
| (String) SSL Client certificate file for REST notifier. |
| (String) SSL Client private key file for REST notifier. |
| (Integer) Number of retries for REST notifier |
| (Boolean) Whether to verify the SSL Server certificate when calling alarm action. |
[database] | |
| (Integer) Number of seconds that alarm histories are kept in the database for (⇐ 0 means forever). |
[evaluator] | |
| (Integer) Number of workers for evaluator service. default value is 1. |
[healthcheck] | |
| (List) Additional backends that can perform health checks and report that information back as part of a request. |
| (Boolean) Show more detailed information as part of the response |
| (String) Check the presence of a file to determine if an application is running on a port. Used by DisableByFileHealthcheck plugin. |
| (List) Check the presence of a file based on a port to determine if an application is running on a port. Expects a "port:path" list of strings. Used by DisableByFilesPortsHealthcheck plugin. |
| (String) DEPRECATED: The path to respond to healtcheck requests on. |
[listener] | |
| (Integer) Number of notification messages to wait before dispatching them. |
| (Integer) Number of seconds to wait before dispatching samples when batch_size is not reached (None means indefinitely). |
| (String) The topic that aodh uses for event alarm evaluation. |
| (Integer) Number of workers for listener service. default value is 1. |
[notifier] | |
| (Integer) Number of notification messages to wait before dispatching them. |
| (Integer) Number of seconds to wait before dispatching samples when batch_size is not reached (None means indefinitely). |
| (Integer) Number of workers for notifier service. default value is 1. |
[service_credentials] | |
| (String) Type of endpoint in Identity service catalog to use for communication with OpenStack services. |
| (String) Region name to use for OpenStack service endpoints. |
[service_types] | |
| (String) Message queue service type. |
Configuration option = Default value | Description |
---|---|
[coordination] | |
| (String) The backend URL to use for distributed coordination. If left empty, per-deployment central agent and per-host compute agent won’t do workload partitioning and will only function correctly if a single instance of that service is running. |
| (Floating point) Number of seconds between checks to see if group membership has changed |
| (Floating point) Number of seconds between heartbeats for distributed coordination. |
| (Integer) Maximum number of seconds between retry to join partitioning group |
| (Integer) Retry backoff factor when retrying to connect with coordination backend |
Configuration option = Default value | Description |
---|---|
[matchmaker_redis] | |
| (Integer) Time in ms to wait before the transaction is killed. |
| (String) DEPRECATED: Host to locate redis. Replaced by [DEFAULT]/transport_url |
| (String) DEPRECATED: Password for Redis server (optional). Replaced by [DEFAULT]/transport_url |
| (Port number) DEPRECATED: Use this port to connect to redis host. Replaced by [DEFAULT]/transport_url |
| (String) Redis replica set name. |
| (List) DEPRECATED: List of Redis Sentinel hosts (fault tolerance mode), e.g., [host:port, host1:port … ] Replaced by [DEFAULT]/transport_url |
| (Integer) Timeout in ms on blocking socket operations. |
| (Integer) Time in ms to wait between connection attempts. |
11.2.2. New, updated, and deprecated options in Ocata for Alarming Copy linkLink copied to clipboard!
Option = default value | (Type) Help string |
---|---|
| (StrOpt) Authentication mode to use. Unset to disable authentication |
Option | Previous default value | New default value |
---|---|---|
|
|
|
Deprecated option | New Option |
---|---|
|
|
|
|