Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

12.10. Configure Monitored Services

The Telemetry service can also monitor the Image service, OpenStack Networking, the Object Storage service, and the Block Storage service. You must configure each service to submit samples to the Collector services. Before configuring any of these services, you must install the python-ceilometer and python-ceilometerclient packages on the node hosting the service:
# yum install python-ceilometer python-ceilometerclient

Note

Restart each service after configuring it to be monitored by the Telemetry service.
Image service (glance)
# openstack-config --set /etc/glance/glance-api.conf \
   DEFAULT notifier_strategy NOTIFYMETHOD
Replace NOTIFYMETHOD with a notification queue: rabbit (to use a rabbitmq queue) or qpid (to use a qpid message queue).
Block Storage service (cinder)
# openstack-config --set /etc/cinder/cinder.conf \	
   DEFAULT notification_driver messagingv2
# openstack-config --set /etc/cinder/cinder.conf \	
   DEFAULT rpc_backend cinder.openstack.common.rpc.impl_kombu
# openstack-config --set /etc/cinder/cinder.conf \	
   DEFAULT control_exchange cinder
Object Storage service (swift)
The Telemetry service collects samples from the Object Storage service (swift) through the ResellerAdmin role that was created when configuring the required Identity records for Telemetry. You must also configure the Object Storage service to process traffic from ceilometer.
  1. Open the /etc/swift/proxy-server.conf file in a text editor, and add or update the following lines:
    [filter:ceilometer]
    use = egg:ceilometer#swift
    
    [pipeline:main]
    pipeline = healthcheck cache authtoken keystoneauth ceilometer proxy-server
  2. Add the swift user to the ceilometer group:
    # usermod -a -G ceilometer swift
  3. Allow the Object Storage service to output logs to /var/log/ceilometer/swift-proxy-server.log:
    # touch /var/log/ceilometer/swift-proxy-server.log
    # chown ceilometer:ceilometer /var/log/ceilometer/swift-proxy-server.log
    # chmod 664 /var/log/ceilometer/swift-proxy-server.log
OpenStack Networking (neutron)
Telemetry supports the use of labels for distinguishing IP ranges. Enable OpenStack Networking integration with Telemetry:
# openstack-config --set /etc/neutron/neutron.conf \	
   DEFAULT notification_driver messagingv2