Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
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 NOTIFYMETHOD
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace NOTIFYMETHOD with a notification queue:rabbit
(to use arabbitmq
queue) orqpid
(to use aqpid
message 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 theResellerAdmin
role 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.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
[filter:ceilometer] use = egg:ceilometer#swift [pipeline:main] pipeline = healthcheck cache authtoken keystoneauth ceilometer proxy-server
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Add the
swift
user to theceilometer
group:usermod -a -G ceilometer swift
# usermod -a -G ceilometer swift
Copy 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.log
Copy 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 messagingv2
Copy to Clipboard Copied! Toggle word wrap Toggle overflow