The ceilometer.dispatcher.http Module

class ceilometer.dispatcher.http.HttpDispatcher(conf)[source]

Bases: ceilometer.dispatcher.MeterDispatcherBase, ceilometer.dispatcher.EventDispatcherBase

Dispatcher class for posting metering/event data into a http target.

To enable this dispatcher, the following option needs to be present in ceilometer.conf file:

[DEFAULT]
meter_dispatchers = http
event_dispatchers = http

Dispatcher specific options can be added as follows:

[dispatcher_http]
target = www.example.com
event_target = www.example.com
timeout = 2
# No SSL verification
#verify_ssl = False
# SSL verification with system-installed CAs
verify_ssl = True
# SSL verification with specific CA or directory of certs
#verify_ssl = /path/to/ca_certificate.crt
record_events(events)[source]
record_metering_data(data)[source]

Previous topic

The ceilometer.dispatcher.gnocchi Module

Next topic

The ceilometer.energy.kwapi Module

Project Source

This Page