OpenStack中的通知 [英] Notifications in openstack

查看:98
本文介绍了OpenStack中的通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对如何通知其他应用程序openstack中的事件感兴趣.例如,我不希望在应用程序中知道nova中的实例何时被挂起或恢复.是否有任何Webhooks或类似的东西在哪里可以获取该信息?

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?

我正在查看有关通知的官方文档,但我实际上不能做任何事情: http://docs.openstack.org/trunk/openstack-network /admin/content/ch_adv_notification_overview.html

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?

推荐答案

看看OpenStack Ceilometer 项目.它捕获不同种类的OpenStack事件并将它们记录到数据库中.主要用例是用于计量,但是您可能会发现它对您的情况很有用.

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.

这篇关于OpenStack中的通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆