12.4. Configure the Telemetry Service Database Connection


The database connection URL used by the Telemetry service is defined in the /etc/ceilometer/ceilometer.conf file. It must be updated to point to a valid database server before starting the Telemetry API service (openstack-ceilometer-api), Notification agent (openstack-ceilometer-notification), and Collector agent (openstack-ceilometer-collector).
All steps in this procedure must be performed on the server or servers hosting the openstack-ceilometer-api service and the openstack-ceilometer-collector service, while logged in as the root user.

Procedure 12.2. Configuring the Telemetry Service Database Connection

  • Set the database connection string:
    # openstack-config --set /etc/ceilometer/ceilometer.conf \
       database connection mongodb://ceilometer:MONGOPASS@MONGOHOST/ceilometer
    Copy to Clipboard Toggle word wrap
    Replace the following values:
    • Replace MONGOPASS with the password of the ceilometer user; it is required by the Telemetry service to log in to the database server. Supply these credentials only when required by the database server (for example, when the database server is hosted on another system or node).
    • Replace MONGOHOST with the IP address or host name and the port of the server hosting the database service.
    If MongoDB is hosted locally on the same host, use the following database connection string:
    mongodb://localhost:27017/ceilometer
    Copy to Clipboard Toggle word wrap
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat