ceilometer/install-guide/source/install-base-config-common.rst
Hanxi Liu f13660f87f fix [service_credentials] section location
Unit the [service_credentials] section and make it visible under code-block.
http://docs.openstack.org/project-install-guide/telemetry/draft/install-base-ubuntu.html

Change-Id: I474ca79bc78332d5f2424aad9cb08a1ab440714e
2017-02-14 11:08:45 +08:00

1.8 KiB

  1. Edit the /etc/ceilometer/ceilometer.conf file and complete the following actions:
    • Configure Gnocchi connection:

      [DEFAULT]
      ...
      meter_dispatchers=gnocchi
      event_dispatchers=gnocchi
      
      [dispatcher_gnocchi]
      # filter out Gnocchi-related activity meters (Swift driver)
      filter_service_activity = False
      # default metric storage archival policy
      archive_policy = low

      Note

      It is possible forego the collector service by modifying the pipeline.yaml to use the gnocchi:// publisher rather than notifier://. Doing so will minimise resource requirements. In this case, dispatchers do not need to be added to conf file.

    • In the [DEFAULT] section, configure RabbitMQ message queue access:

      [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:

      [service_credentials]
      ...
      auth_type = password
      auth_url = http://controller:5000/v3
      project_domain_name = default
      user_domain_name = 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.

    • Create Ceilometer resources in Gnocchi. Gnocchi should be running by this stage:

      # ceilometer-upgrade --skip-metering-database