Notifications to external systems from openstack

对着背影说爱祢 提交于 2021-01-28 19:19:30

问题


We want to develop an application which will monitor the host(s) and VM(s), managed via openstack. We use the openstack REST APIs to get the inventory of hosts and servers. Next step is to listen for any notifications/events from openstack environment such as Vm down, VM suspended,etc. We don't want to rely on the ceilometer, since this may not be a mandatory component in our deployments.

One way is latching into rabbitmq messaging from nova. If this is the ideal way, is there any Java client already written to use this mechanism? The problem with this approach is that I need to know the username and password for rabbitmq, which may be different than that of openstack controller credentials.

So we are checking whats the best way to get the notifications (specifically the compute events such as VM down, VM suspended,etc) from openstack environment to an external application, without using cielometer.

I have come across another post "Notifications in openstack" which was talking about a similar issue. But the answer provided was using cielometer, which I don't want to go with.

来源:https://stackoverflow.com/questions/35471773/notifications-to-external-systems-from-openstack

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