此内容没有您所选择的语言版本。

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
Copy to Clipboard Toggle word wrap

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
Copy to Clipboard Toggle word wrap
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
Copy to Clipboard Toggle word wrap
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
    Copy to Clipboard Toggle word wrap
  2. Add the swift user to the ceilometer group:
    # usermod -a -G ceilometer swift
    Copy to Clipboard Toggle word wrap
  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
    Copy to Clipboard Toggle word wrap
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
Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat