ceilometer/doc/source/install/install-base-config-common.inc
hanxi.liu 189637e37b Put configurations to appropriate part
One for pipeline.yaml, anthter for ceilometer.conf.

Change-Id: I19e6e2b0b406f51c15aa8fe91b3f3f61023cd40b
2017-11-24 20:09:34 +08:00

54 lines
1.5 KiB
PHP

2. Edit the ``/etc/ceilometer/pipeline.yaml`` file and complete
the following section:
* Configure Gnocchi connection:
.. code-block:: yaml
publishers:
# set address of Gnocchi
# + filter out Gnocchi-related activity meters (Swift driver)
# + set default archive policy
- gnocchi://?filter_project=service&archive_policy=low
3. Edit the ``/etc/ceilometer/ceilometer.conf`` file and complete
the following actions:
* In the ``[DEFAULT]`` section,
configure ``RabbitMQ`` message queue access:
.. code-block:: ini
[DEFAULT]
...
transport_url = rabbit://openstack:RABBIT_PASS@controller
Replace ``RABBIT_PASS`` with the password you chose for the
``openstack`` account in ``RabbitMQ``.
* In the ``[service_credentials]`` section, configure service credentials:
.. code-block:: ini
[service_credentials]
...
auth_type = password
auth_url = http://controller:5000/v3
project_domain_id = default
user_domain_id = default
project_name = service
username = ceilometer
password = CEILOMETER_PASS
interface = internalURL
region_name = RegionOne
Replace ``CEILOMETER_PASS`` with the password you chose for
the ``ceilometer`` user in the Identity service.
4. Create Ceilometer resources in Gnocchi. Gnocchi should be running by this
stage:
.. code-block:: console
# ceilometer-upgrade