Can ceilometer-gurus advise?

[For Ceilometer/Juno]
Use case:
catch instance creation error notifications with ceilometer.

I tried the notifications as well as metering route, but haven't quite
figured out how to do this --

- Added a notification class to ceilometer
<http://opengrok.platform9.sys/source/xref/pf9-ceilometer/ceilometer/>/
compute
<http://opengrok.platform9.sys/source/xref/pf9-ceilometer/ceilometer/compute/>
/notifications
<http://opengrok.platform9.sys/source/xref/pf9-ceilometer/ceilometer/compute/notifications/>
/instance.py
<http://opengrok.platform9.sys/source/xref/pf9-ceilometer/ceilometer/compute/notifications/instance.py>
- Noticed that there is a class called "Instance" which already subscribes
to events compute.instance.*, disabled that by removing it from the egg
entry points (setup.cfg)
- Created a pipeline to define a meter for my notifications class.

I noticed that the ceilometer-agent-notification service does not consume
any notifications with above changes. I had to set
store_events=true in ceilometer.conf

Now, ceilometer generates events, but they are generic type.

1. Should I change event_definitions.yaml to store event information in the
format that I want?
2. a way to generate only the event I am interested in, not all by default.


Thanks,
__________________________________________________________________________
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

Reply via email to