Use a clean ceilometer sample config file

Copy the sample file from the ceilometer stable/icehouse branch to
remove the manual editions added in our current file.

Using the stable/icehouse branch will make the backport easier.

Change-Id: I1402def0ab529fdcda6c7c5dc373c90cd522cf9d
backport: icehouse
This commit is contained in:
Gauvain Pocentek 2014-07-03 06:48:09 +02:00
parent 89074b2e43
commit 1a12512f1c

View File

@ -10,6 +10,7 @@
#http_control_exchanges=neutron
#http_control_exchanges=cinder
#
# Options defined in ceilometer.pipeline
#
@ -17,6 +18,7 @@
# Configuration file for pipeline definition. (string value)
#pipeline_cfg_file=pipeline.yaml
#
# Options defined in ceilometer.sample
#
@ -25,6 +27,7 @@
# Deprecated group/name - [DEFAULT]/counter_source
#sample_source=openstack
#
# Options defined in ceilometer.service
#
@ -45,6 +48,7 @@
# notification agent is enabled by default. (integer value)
#notification_workers=1
#
# Options defined in ceilometer.api.app
#
@ -56,6 +60,7 @@
# Deploy the deprecated v1 API. (boolean value)
#enable_v1_api=true
#
# Options defined in ceilometer.compute.notifications
#
@ -63,6 +68,7 @@
# Exchange name for Nova notifications. (string value)
#nova_control_exchange=nova
#
# Options defined in ceilometer.compute.util
#
@ -74,6 +80,7 @@
# Limit on length of reserved metadata values. (integer value)
#reserved_metadata_length=256
#
# Options defined in ceilometer.compute.virt.inspector
#
@ -82,6 +89,7 @@
# (string value)
#hypervisor_inspector=libvirt
#
# Options defined in ceilometer.compute.virt.libvirt.inspector
#
@ -94,13 +102,14 @@
# libvirt_type). (string value)
#libvirt_uri=
#
# Options defined in ceilometer.image.notifications
#
# Exchange name for Glance notifications. (string value)
#glance_control_exchange=glance
glance_control_exchange=glance
#
# Options defined in ceilometer.network.notifications
@ -110,6 +119,7 @@ glance_control_exchange=glance
# Deprecated group/name - [DEFAULT]/quantum_control_exchange
#neutron_control_exchange=neutron
#
# Options defined in ceilometer.objectstore.swift
#
@ -118,6 +128,7 @@ glance_control_exchange=glance
# in proxy-server.conf. (string value)
#reseller_prefix=AUTH_
#
# Options defined in ceilometer.openstack.common.db.sqlalchemy.session
#
@ -128,6 +139,7 @@ glance_control_exchange=glance
# If True, SQLite uses synchronous mode (boolean value)
#sqlite_synchronous=true
#
# Options defined in ceilometer.openstack.common.eventlet_backdoor
#
@ -142,6 +154,7 @@ glance_control_exchange=glance
# service's log file. (string value)
#backdoor_port=<None>
#
# Options defined in ceilometer.openstack.common.lockutils
#
@ -152,6 +165,7 @@ glance_control_exchange=glance
# Directory to use for lock files. (string value)
#lock_path=<None>
#
# Options defined in ceilometer.openstack.common.log
#
@ -159,12 +173,10 @@ glance_control_exchange=glance
# Print debugging output (set logging level to DEBUG instead
# of default WARNING level). (boolean value)
#debug=false
debug=False
# Print more verbose output (set logging level to INFO instead
# of default WARNING level). (boolean value)
#verbose=false
verbose=True
# Log output to standard error (boolean value)
#use_stderr=true
@ -229,14 +241,12 @@ verbose=True
# (Optional) The base directory used for relative --log-file
# paths (string value)
# Deprecated group/name - [DEFAULT]/logdir
#log_dir=/var/log/ceilometer
log_dir=/var/log/ceilometer
#log_dir=<None>
# Use syslog for logging. Existing syslog format is DEPRECATED
# during I, and then will be changed in J to honor RFC5424
# (boolean value)
#use_syslog=false
use_syslog=False
# (Optional) Use syslog rfc5424 format for logging. If
# enabled, will add APP-NAME (RFC5424) before the MSG part of
@ -247,6 +257,7 @@ use_syslog=False
# Syslog facility to receive log lines (string value)
#syslog_log_facility=LOG_USER
#
# Options defined in ceilometer.openstack.common.middleware.sizelimit
#
@ -255,6 +266,7 @@ use_syslog=False
# Deprecated group/name - [DEFAULT]/osapi_max_request_body_size
#max_request_body_size=114688
#
# Options defined in ceilometer.openstack.common.notifier.api
#
@ -271,13 +283,14 @@ use_syslog=False
# value)
#default_publisher_id=<None>
#
# Options defined in ceilometer.openstack.common.notifier.rpc_notifier
#
# AMQP topic used for OpenStack notifications (list value)
#notification_topics=notifications
notification_topics=notifications,glance_notifications
#
# Options defined in ceilometer.openstack.common.policy
@ -290,14 +303,14 @@ notification_topics=notifications,glance_notifications
# value)
#policy_default_rule=default
#
# Options defined in ceilometer.openstack.common.rpc
#
# The messaging module to use, defaults to kombu. (string
# value)
#rpc_backend=ceilometer.openstack.common.rpc.impl_qpid
rpc_backend=ceilometer.openstack.common.rpc.impl_kombu
#rpc_backend=ceilometer.openstack.common.rpc.impl_kombu
# Size of RPC thread pool (integer value)
#rpc_thread_pool_size=64
@ -324,6 +337,7 @@ rpc_backend=ceilometer.openstack.common.rpc.impl_kombu
# (string value)
#control_exchange=openstack
#
# Options defined in ceilometer.openstack.common.rpc.amqp
#
@ -335,6 +349,7 @@ rpc_backend=ceilometer.openstack.common.rpc.impl_kombu
# Auto-delete queues in amqp. (boolean value)
#amqp_auto_delete=false
#
# Options defined in ceilometer.openstack.common.rpc.impl_kombu
#
@ -357,31 +372,25 @@ rpc_backend=ceilometer.openstack.common.rpc.impl_kombu
# The RabbitMQ broker address where a single node is used
# (string value)
#rabbit_host=localhost
rabbit_host=127.0.0.1
# The RabbitMQ broker port where a single node is used
# (integer value)
#rabbit_port=5672
rabbit_port=5672
# RabbitMQ HA cluster host:port pairs (list value)
#rabbit_hosts=$rabbit_host:$rabbit_port
rabbit_hosts=127.0.0.1:5672
# Connect over SSL for RabbitMQ (boolean value)
#rabbit_use_ssl=false
# The RabbitMQ userid (string value)
#rabbit_userid=guest
rabbit_userid=guest
# The RabbitMQ password (string value)
#rabbit_password=guest
rabbit_password=guest
# The RabbitMQ virtual host (string value)
#rabbit_virtual_host=/
rabbit_virtual_host=/
# How frequently to retry connecting with RabbitMQ (integer
# value)
@ -399,7 +408,7 @@ rabbit_virtual_host=/
# this option, you must wipe the RabbitMQ database. (boolean
# value)
#rabbit_ha_queues=false
rabbit_ha_queues=False
#
# Options defined in ceilometer.openstack.common.rpc.impl_qpid
@ -442,6 +451,7 @@ rabbit_ha_queues=False
# (integer value)
#qpid_topology_version=1
#
# Options defined in ceilometer.openstack.common.rpc.impl_zmq
#
@ -472,6 +482,7 @@ rabbit_ha_queues=False
# value)
#rpc_zmq_host=ceilometer
#
# Options defined in ceilometer.openstack.common.rpc.matchmaker
#
@ -482,6 +493,7 @@ rabbit_ha_queues=False
# Heartbeat time-to-live. (integer value)
#matchmaker_heartbeat_ttl=600
#
# Options defined in ceilometer.orchestration.notifications
#
@ -489,6 +501,7 @@ rabbit_ha_queues=False
# Exchange name for Heat notifications (string value)
#heat_control_exchange=heat
#
# Options defined in ceilometer.storage
#
@ -496,6 +509,7 @@ rabbit_ha_queues=False
# DEPRECATED - Database connection string. (string value)
#database_connection=<None>
#
# Options defined in ceilometer.storage.sqlalchemy.models
#
@ -503,27 +517,24 @@ rabbit_ha_queues=False
# MySQL engine to use. (string value)
#mysql_engine=InnoDB
#
# Options defined in ceilometer.volume.notifications
#
# Exchange name for Cinder notifications. (string value)
#cinder_control_exchange=cinder
metering_secret=e7950043f98e4e05
os_auth_url=http://127.0.0.1:35357/v2.0
os_tenant_name=services
os_username=ceilometer
os_password=secretPass
os_auth_region=RegionOne
[alarm]
#
# Options defined in ceilometer.cli
#
# Class to launch as alarm evaluation service. (string value)
#evaluation_service=ceilometer.alarm.service.SingletonAlarmService
evaluation_service=ceilometer.alarm.service.SingletonAlarmService
#
# Options defined in ceilometer.alarm.notifier.rest
@ -539,6 +550,7 @@ evaluation_service=ceilometer.alarm.service.SingletonAlarmService
# alarm action. (boolean value)
#rest_notifier_ssl_verify=true
#
# Options defined in ceilometer.alarm.rpc
#
@ -550,7 +562,7 @@ evaluation_service=ceilometer.alarm.service.SingletonAlarmService
# The topic that ceilometer uses for alarm partition
# coordination messages. (string value)
#partition_rpc_topic=alarm_partition_coordination
partition_rpc_topic=alarm_partition_coordination
#
# Options defined in ceilometer.alarm.service
@ -561,7 +573,7 @@ partition_rpc_topic=alarm_partition_coordination
# (integer value)
# Deprecated group/name - [alarm]/threshold_evaluation_interval
#evaluation_interval=60
evaluation_interval=60
#
# Options defined in ceilometer.api.controllers.v2
@ -569,9 +581,10 @@ evaluation_interval=60
# Record alarm change events. (boolean value)
#record_history=true
record_history=True
[api]
#
# Options defined in ceilometer.api
#
@ -579,13 +592,13 @@ record_history=True
# The port for the ceilometer API server. (integer value)
# Deprecated group/name - [DEFAULT]/metering_api_port
#port=8777
port=8777
# The listen IP for the ceilometer API server. (string value)
#host=0.0.0.0
host=0.0.0.0
[collector]
#
# Options defined in ceilometer.collector
#
@ -599,6 +612,7 @@ host=0.0.0.0
[database]
#
# Options defined in ceilometer.openstack.common.db.api
#
@ -607,6 +621,7 @@ host=0.0.0.0
# Deprecated group/name - [DEFAULT]/db_backend
#backend=sqlalchemy
#
# Options defined in ceilometer.openstack.common.db.sqlalchemy.session
#
@ -616,8 +631,7 @@ host=0.0.0.0
# Deprecated group/name - [DEFAULT]/sql_connection
# Deprecated group/name - [DATABASE]/sql_connection
# Deprecated group/name - [sql]/connection
#connection=mongodb://localhost:27017/ceilometer
connection=mongodb://127.0.0.1:27017/ceilometer
#connection=sqlite:////ceilometer/openstack/common/db/$sqlite_db
# The SQLAlchemy connection string used to connect to the
# slave database (string value)
@ -681,9 +695,10 @@ connection=mongodb://127.0.0.1:27017/ceilometer
#
# Number of seconds that samples are kept in the database for
# (&ls;= 0 means forever). (integer value)
# (<= 0 means forever). (integer value)
#time_to_live=-1
[dispatcher_file]
#
@ -700,7 +715,9 @@ connection=mongodb://127.0.0.1:27017/ceilometer
# The max number of the files to keep. (integer value)
#backup_count=0
[event]
#
# Options defined in ceilometer.event.converter
#
@ -713,7 +730,9 @@ connection=mongodb://127.0.0.1:27017/ceilometer
# (boolean value)
#drop_unmatched_notifications=false
[keystone_authtoken]
#
# Options defined in keystoneclient.middleware.auth_token
#
@ -725,20 +744,16 @@ connection=mongodb://127.0.0.1:27017/ceilometer
# Host providing the admin Identity API endpoint (string
# value)
#auth_host=127.0.0.1
auth_host=127.0.0.1
# Port of the admin Identity API endpoint (integer value)
#auth_port=35357
auth_port=35357
# Protocol of the admin Identity API endpoint(http or https)
# (string value)
#auth_protocol=https
auth_protocol=http
# Complete public Identity API endpoint (string value)
#auth_uri=<None>
auth_uri=http://127.0.0.1:5000/
# API version of the admin Identity API endpoint (string
# value)
@ -770,16 +785,13 @@ auth_uri=http://127.0.0.1:5000/
# Keystone account username (string value)
#admin_user=<None>
admin_user=ceilometer
# Keystone account password (string value)
#admin_password=<None>
admin_password=secretPass
# Keystone service account tenant name to validate user tokens
# (string value)
#admin_tenant_name=admin
admin_tenant_name=services
# Env key for the swift cache (string value)
#cache=<None>
@ -925,6 +937,7 @@ admin_tenant_name=services
[service_credentials]
#
# Options defined in ceilometer.service
#
@ -962,7 +975,9 @@ admin_tenant_name=services
# to Identity Service is established. (boolean value)
#insecure=false
[ssl]
#
# Options defined in ceilometer.openstack.common.sslutils
#
@ -981,6 +996,7 @@ admin_tenant_name=services
[vmware]
#
# Options defined in ceilometer.compute.virt.vmware.inspector
#