Este conteúdo não está disponível no idioma selecionado.
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
# 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
# openstack-config --set /etc/glance/glance-api.conf \ DEFAULT notifier_strategy NOTIFYMETHODCopy to Clipboard Copied! Toggle word wrap Toggle overflow Replace NOTIFYMETHOD with a notification queue:rabbit(to use arabbitmqqueue) orqpid(to use aqpidmessage queue).- Block Storage service (
cinder) Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Object Storage service (
swift) - The Telemetry service collects samples from the Object Storage service (
swift) through theResellerAdminrole that was created when configuring the required Identity records for Telemetry. You must also configure the Object Storage service to process traffic fromceilometer.- Open the
/etc/swift/proxy-server.conffile 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
[filter:ceilometer] use = egg:ceilometer#swift [pipeline:main] pipeline = healthcheck cache authtoken keystoneauth ceilometer proxy-serverCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Add the
swiftuser to theceilometergroup:usermod -a -G ceilometer swift
# usermod -a -G ceilometer swiftCopy to Clipboard Copied! Toggle word wrap Toggle overflow - 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
# 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.logCopy to Clipboard Copied! Toggle word wrap Toggle overflow
- 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
# openstack-config --set /etc/neutron/neutron.conf \ DEFAULT notification_driver messagingv2Copy to Clipboard Copied! Toggle word wrap Toggle overflow