[openstack-dev] [vitrage][aodh] about aodh notifier to create a event alarm

Afek, Ifat (Nokia - IL) ifat.afek at nokia.com
Wed Oct 19 08:20:51 UTC 2016



From: "dong.wenjuan at zte.com.cn<mailto:dong.wenjuan at zte.com.cn>"
Date: Wednesday, 19 October 2016 at 11:01

The BP of aodh-message-bus-notifications[1] was blocked as Aodh message bus notification.
As the discuession of Vitrage and Aodh in etherpad[2], only the Aodh alarm_deletion notification is missing.
I proposed a patch to add the Aodh alarm_deletion notification.[3]
Please help me to review this patch.
Do the alarm.creation, alarm.state_transition and alarm.deletion satisfy the Vitrage requirement?
I'd like to help to implement the aodh-message-bus-notifications BP if there is nobody interest in it.

This is more complex. Aodh has a mechanism for registering a URL to be notified when the state of a specific alarm is changed.
Vitrage asked for something else - a notification whenever *any* alarm state is changed. In Vitrage we don’t want to register to each and every Aodh alarm separately, so we prefer to get the notifications for all changes on the message bus (as we do with other OpenStack projects). In addition, there is currently no notification about a newly created alarm, so even if we register a URL on each alarm we will not be able to register it on the new alarms.

[dwj]:  If i understand correctly, Aodh already support a notification whenever *any* alarm state is changed.
              See https://github.com/openstack/aodh/blob/master/aodh/evaluator/__init__.py#L107.
      We only need to config the vitrage_notifications topics in Aodh then Vitrage can get the notifications from Aodh.
      Let me know if i miss something.

A few months ago I discussed it with Gordon Chung, and understood that he blocked the option to add another notification topic.
Gordon?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161019/ba3491b5/attachment.html>


More information about the OpenStack-dev mailing list