72 lines
1.9 KiB
Plaintext
72 lines
1.9 KiB
Plaintext
# mitaka
|
|
###############################################################################
|
|
# [ WARNING ]
|
|
# ceilometer configuration file maintained by Juju
|
|
# local changes may be overwritten.
|
|
###############################################################################
|
|
[DEFAULT]
|
|
debug = {{ debug }}
|
|
verbose = {{ verbose }}
|
|
use_syslog = {{ use_syslog }}
|
|
api_workers = {{ workers }}
|
|
collector_workers = {{ workers }}
|
|
notification_workers = {{ workers }}
|
|
|
|
event_pipeline_cfg_file = /etc/ceilometer/event_pipeline.yaml
|
|
|
|
{% if gnocchi_url -%}
|
|
meter_dispatchers = gnocchi
|
|
event_dispatchers = gnocchi
|
|
{% elif db_host or db_mongo_servers -%}
|
|
meter_dispatchers = database
|
|
event_dispatchers = database
|
|
{%- endif %}
|
|
|
|
[api]
|
|
port = {{ port }}
|
|
|
|
{% if service_host -%}
|
|
[service_credentials]
|
|
auth_url = {{ service_protocol }}://{{ service_host }}:{{ service_port }}
|
|
project_name = {{ admin_tenant_name }}
|
|
username = {{ admin_user }}
|
|
password = {{ admin_password }}
|
|
{% if api_version == "3" -%}
|
|
project_domain_name = {{ admin_domain_name }}
|
|
user_domain_name = {{ admin_domain_name }}
|
|
{% else -%}
|
|
project_domain_name = default
|
|
user_domain_name = default
|
|
{% endif -%}
|
|
auth_type = password
|
|
{% if use_internal_endpoints -%}
|
|
interface = internalURL
|
|
{%- endif %}
|
|
{% endif -%}
|
|
|
|
{% if db_host or db_mongo_servers -%}
|
|
[database]
|
|
{% if db_replset: -%}
|
|
connection = mongodb://{{ db_mongo_servers }}/{{ db_name }}?readPreference=primaryPreferred&replicaSet={{ db_replset }}
|
|
mongodb_replica_set = {{ db_replset }}
|
|
{% else -%}
|
|
connection = mongodb://{{ db_host }}:{{ db_port }}/{{ db_name }}
|
|
{% endif %}
|
|
metering_time_to_live = {{ metering_time_to_live }}
|
|
event_time_to_live = {{ event_time_to_live }}
|
|
{%- endif %}
|
|
|
|
[publisher]
|
|
telemetry_secret = {{ metering_secret }}
|
|
|
|
{% if gnocchi_url -%}
|
|
[dispatcher_gnocchi]
|
|
filter_service_activity = False
|
|
archive_policy = {{ archive_policy }}
|
|
url = {{ gnocchi_url }}
|
|
{%- endif %}
|
|
|
|
{% include "section-keystone-authtoken-mitaka" %}
|
|
|
|
{% include "section-rabbitmq-oslo" %}
|