<br><font size=2 face="sans-serif">Hi All,</font>
<br>
<br><font size=2 face="sans-serif">The BP of aodh-message-bus-notifications[1]
was blocked as Aodh message bus notification</font><font size=3>. </font>
<br><font size=2 face="sans-serif">As the discuession of Vitrage and Aodh
in etherpad[2], only the Aodh alarm_deletion notification is missing.</font>
<br><font size=2 face="sans-serif">I proposed a patch to add the Aodh alarm_deletion
notification.[3]</font>
<br><font size=2 face="sans-serif">Please help me to review this patch.</font>
<br><font size=2 face="sans-serif">Do the alarm.creation, alarm.state_transition
and alarm.deletion satisfy the Vitrage requirement?</font>
<br><font size=2 face="sans-serif">I'd like to help to implement the aodh-message-bus-notifications
BP if there is nobody interest in it.</font>
<br>
<br>
<br><font size=2 face="sans-serif">About the Aodh custon alarm</font><font size=3>:</font>
<br><font size=3>What about the alarm type as `prompt` or something else
like this, which means the alarm </font>
<br><font size=3>is fired with no evaluation. And the metedata include
the `source_id` means which source</font>
<br><font size=3>the alarm is on?</font>
<br><font size=3>Let me know if you have some good ideas.</font>
<br><font size=3>Thanks,</font>
<br>
<br>
<br><font size=2 face="sans-serif">[1]https://blueprints.launchpad.net/vitrage/+spec/aodh-message-bus-notifications</font>
<br><font size=2 face="sans-serif">[2]https://etherpad.openstack.org/p/newton-telemetry-vitrage</font>
<br><font size=2 face="sans-serif">[3]https://review.openstack.org/#/c/387754/</font>
<br>
<br>
<br><font size=2 face="sans-serif">BR,</font>
<br><font size=2 face="sans-serif">dwj<br>
</font><font size=3><br>
<br>
</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=36%><font size=1 face="sans-serif"><b>"Afek, Ifat (Nokia
- IL)" <ifat.afek@nokia.com></b> </font>
<p><font size=1 face="sans-serif">2016-10-13 17:31</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">请答复 给<br>
"OpenStack Development Mailing List \(not for usage questions\)"
<openstack-dev@lists.openstack.org></font></div></table>
<br>
<td width=63%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">收件人</font></div>
<td><font size=1 face="sans-serif">"OpenStack Development Mailing
List (not for usage questions)" <openstack-dev@lists.openstack.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">抄送</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">主题</font></div>
<td><font size=1 face="sans-serif">Re: [openstack-dev] [vitrage][aodh]
about aodh notifier to create a event alarm</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 face="Calibri">Hi dwj,</font>
<br>
<br><font size=2 face="Calibri">Thanks for bringing this up.</font>
<br>
<br><font size=2 face="Calibri">Aodh notifier plugin inside Vitrage is
defined as a POC, and is disabled by default. We are aware that this integration
is not working well, and its purpose was to demonstrate how it could work
and start a discussion about other possible implementations. I know that
in Austin there were discussions between Aodh and Vitrage teams, and a
general agreement that Vitrage would suggest a design for Aodh custom alarm.
Such an alarm could then be used by Vitrage instead of the event-alarm
in a more natural way. </font>
<br>
<br><font size=2 face="Calibri">Unfortunately, due to time limitations,
we did not get to write the custom alarm blueprint in Aodh. It is still
defined as a high priority in Vitrage roadmap, and I hope it will happen
in Ocata. If you have some free time you are more than welcome to give
a hand :-)</font>
<br>
<br><font size=2 face="Calibri">Best Regards,</font>
<br><font size=2 face="Calibri">Ifat.</font>
<br>
<br>
<br><font size=3 face="Calibri"><b>From: </b>"</font><a href=mailto:dong.wenjuan@zte.com.cn><font size=3 color=blue face="Calibri"><u>dong.wenjuan@zte.com.cn</u></font></a><font size=3 face="Calibri">"<b><br>
Date: </b>Thursday, 13 October 2016 at 04:20</font>
<br><font size=2 face="sans-serif"><br>
Hi vitrages,</font><font size=2 face="Calibri"> <br>
</font><font size=2 face="sans-serif"><br>
In aodh notifier plugin, we receive a </font><font size=2 face="Courier New">ACTIVATE_DEDUCED_ALARM_EVENT</font><font size=2 face="sans-serif">
and then create a aodh event alarm.<br>
The event alarm with a `event_rule`, it should be include `event_type`
and `query` which Aodh used to evaluator<br>
a alarm when it receives a specify event to filter with the query to fire
a alarm. see [1]</font><font size=2 face="Calibri"><br>
</font><font size=2 face="sans-serif"><br>
But we create a event alarm only with `query` in `event_rule`.<br>
The deduced alarm create with the `alarm` state so Aodh will skip to evaluator
the fired alarm.</font><font size=3 face="Calibri"><br>
The `event_rule` seems no necessary in the request body, am I right?<br>
Let me know if i miss something. :)<br>
<br>
[1]</font><a href="https://github.com/openstack/aodh/blob/master/doc/source/event-alarm.rst"><font size=3 color=blue face="Calibri"><u>https://github.com/openstack/aodh/blob/master/doc/source/event-alarm.rst</u></font></a><font size=2 face="Calibri"><br>
<br>
</font><font size=3 face="Calibri"><br>
BR,</font><font size=2 face="Calibri"> </font><font size=3 face="Calibri"><br>
dwj</font><font size=2 face="Calibri"> <br>
</font><font size=2 color=#58595b face="微软雅黑"><b><br>
董文娟   Wenjuan Dong</b></font><font size=2 face="Calibri"> </font>
<p><font size=1 color=#58595b face="微软雅黑">控制器四部</font><font size=1 color=#58595b face="Arial">
/ </font><font size=1 color=#58595b face="微软雅黑">无线产品  
</font><font size=1 color=#58595b face="Arial">Controller Dept Ⅳ. / Wireless
Product Operation</font><font size=1 color=#58595b face="微软雅黑"><br>
 </font><font size=2 face="Calibri"> </font>
<table width=100%>
<tr>
<td width=39%><img src=cid:_1_05862C34058628780022E1A848258051 alt=icon>
<td width=60%><img src=cid:_1_0586334005862F580022E1A848258051 alt=logo><font size=1 color=#58595b face="微软雅黑"><br>
上海市浦东新区碧波路889号中兴通讯D3</font><font size=1 color=#58595b face="Arial"><br>
D3, ZTE, No. 889, Bibo Rd.</font><font size=1 color=#008fd4 face="Arial"><br>
T</font><font size=1 color=#58595b face="Arial">: +86 021 85922  
 </font><font size=1 color=#008fd4 face="Arial">M</font><font size=1 color=#58595b face="Arial">:
+86 13661996389</font><font size=1 color=#008fd4 face="Arial"><br>
E</font><font size=1 color=#58595b face="Arial">: </font><a href=mailto:dong.wenjuan@zte.com.cn><font size=1 color=blue face="Arial"><u>dong.wenjuan@zte.com.cn</u></font></a><font size=3 color=blue face="Calibri"><u><br>
</u></font><a href=http://www.ztedevice.com/><font size=1 color=#008fd4 face="Arial"><u>www.ztedevice.com</u></font></a></table>
<br><font size=2 face="Calibri"><br>
</font><font size=2><tt>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br>
</tt></font>
<br>
<br>