summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Lewis <stevelle@gmail.com>2017-01-27 09:36:27 -0800
committerSteve Lewis (stevelle) <steve.lewis@rackspace.com>2017-01-27 17:41:56 +0000
commit949df106b03e570126a882e908c80146bf768cb7 (patch)
tree080385084788982fa479b74914b14cb4d5d5016f
parent0a8d5006c63554efb3cb0e76e0d933549e9a9619 (diff)
Update event_dispatcher when gnocchi enabled
Per the current Ceilometer docs[1] event_dispatcher can be set to gnocchi. When gnocchi is enabled this should ensure messages are not accumulated endlessly in RabbitMQ. [1] http://docs.openstack.org/developer/ceilometer/install/dbreco.html#moving-from-ceilometer-to-gnocchi Change-Id: I760d135f4abd89cac3ae66f002a24a083addafb7 Partial-Bug: 1624789
Notes
Notes (review): Code-Review+2: Andy McCrae <andy.mccrae@googlemail.com> Code-Review+2: Logan V <logan2211@gmail.com> Workflow+1: Logan V <logan2211@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 27 Jan 2017 20:34:04 +0000 Reviewed-on: https://review.openstack.org/426325 Project: openstack/openstack-ansible-os_ceilometer Branch: refs/heads/master
-rw-r--r--templates/ceilometer.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/ceilometer.conf.j2 b/templates/ceilometer.conf.j2
index 12cf2a0..c5d0994 100644
--- a/templates/ceilometer.conf.j2
+++ b/templates/ceilometer.conf.j2
@@ -14,7 +14,7 @@ aodh_is_enabled = {{ ceilometer_aodh_enabled | bool }}
14transport_url = rabbit://{% for host in ceilometer_rabbitmq_servers.split(',') %}{{ ceilometer_rabbitmq_userid }}:{{ ceilometer_rabbitmq_password }}@{{ host }}:{{ ceilometer_rabbitmq_port }}{% if not loop.last %},{% else %}/{{ ceilometer_rabbitmq_vhost }}{% endif %}{% endfor %} 14transport_url = rabbit://{% for host in ceilometer_rabbitmq_servers.split(',') %}{{ ceilometer_rabbitmq_userid }}:{{ ceilometer_rabbitmq_password }}@{{ host }}:{{ ceilometer_rabbitmq_port }}{% if not loop.last %},{% else %}/{{ ceilometer_rabbitmq_vhost }}{% endif %}{% endfor %}
15 15
16{% if ceilometer_gnocchi_enabled | bool %} 16{% if ceilometer_gnocchi_enabled | bool %}
17event_dispatchers = 17event_dispatchers = gnocchi
18meter_dispatchers = gnocchi 18meter_dispatchers = gnocchi
19{% endif %} 19{% endif %}
20 20