Notifications in openstack

。_饼干妹妹 提交于 2019-12-06 04:06:36

问题


I'm interested how to notify other applications of events in openstack. For example I want't to know in my application when an instance in nova was suspended or resumed. Are there any webhooks or something like that where could I get that info?

I was looking at official documentation on notification but I can't really make anything out of that: http://docs.openstack.org/trunk/openstack-network/admin/content/ch_adv_notification_overview.html

I could not find any examples with code on the web too.

Has anyone been doing anything like this yet?


回答1:


Take a look at the OpenStack Ceilometer project. It captures different kinds of OpenStack events and log them into a database. The primary use case is for metering, but you may find it useful for your situation.



来源:https://stackoverflow.com/questions/19325328/notifications-in-openstack

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!