Hi, I am able to get event notifications on kafka by applying these configurations:
nova.conf instance_usage_audit = True instance_usage_audit_period = hour notify_on_state_change = vm_and_task_state notification_driver = messagingv2 Restart nova compute service ceilometer.conf [event] drop_unmatched_notifications = False definitions_cfg_file = /etc/ceilometer/event_definitions.yaml event_pipeline.yaml --- sources: - name: event_source events: - compute.instance.* sinks: - event_sink sinks: - name: event_sink transformers: triggers: publishers: #- notifier:// #- file:///home/stack/test?max_bytes=10000000&backup_count=5 - kafka://kafka-broker:9092?topic=ceilometer service ceilometer-api restart service ceilometer-agent-notification restart Wait for couple of minutes and you should be getting the events on your kafka consumer and in ceilometer notifications logs as well tail -f /var/log/ceilometer/ceilometer-agent-notification.log Let me know if it helps. Regards, Ganpat On Tue, Oct 25, 2016 at 3:02 PM, Raghunath D <raghunat...@tcs.com> wrote: > Hi , > > Can some one please suggest how to instance notifications in ceilometer. > > With Best Regards > Raghunath Dudyala > Tata Consultancy Services Limited > Mailto: raghunat...@tcs.com > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Consulting > ____________________________________________ > > > -----Raghunath D/HYD/TCS wrote: ----- > To: openstack-dev@lists.openstack.org > From: Raghunath D/HYD/TCS > Date: 10/18/2016 08:01PM > Subject: [openstack-dev] [Ceilometer]: Instance creation and deletion > metrics in ceilometer ! > > > Hi , > > How can instance created and deleted information/sample can be retrieved > from ceilometer. > What entries should be there in pipeline.yaml to get instance deleted > information. > > I tried to have meters- "instance" in pipeline.yam but it always gives > active instance details, > and no details of deleted instances. > > With Best Regards > Raghunath Dudyala > Tata Consultancy Services Limited > Mailto: raghunat...@tcs.com > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Consulting > ____________________________________________ > > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev