<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 7, 2016 at 1:06 PM, AFEK, Ifat (Ifat) <span dir="ltr"><<a href="mailto:ifat.afek@alcatel-lucent.com" target="_blank">ifat.afek@alcatel-lucent.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> -----Original Message-----<br>
> From: gord chung [mailto:<a href="mailto:gord@live.ca">gord@live.ca</a>]<br>
</span><span class="">> Sent: Wednesday, January 06, 2016 3:52 PM<br>
><br>
> On 06/01/2016 8:11 AM, AFEK, Ifat (Ifat) wrote:<br>
> > Hi,<br>
> ><br>
> > We would like to be notified once an alarm state is changed, so we<br>
> prefer using the message bus.<br>
> > As far as I understand, ceilometer and aodh APIs do not provide<br>
> immediate notifications. If we use the APIs, we will have to poll the<br>
> data periodically and look for changes, and we will get them in delay.<br>
> By listening to the message bus we can get the notifications<br>
> immediately, like we do with other openstack components.<br>
> ><br>
> > Is there an advantage in using the API instead?<br>
> > And what do you mean by "aggregation on events data"? what kind of<br>
> aggregations can we do?<br>
> ><br>
> ><br>
</span><span class="">> is the idea that you don't want to use a webhook to be notified? when<br>
> an alarm is computed by aodh-evaluator, it sends this alarm (via<br>
> message<br>
> queue) to aodh-notifier which in turns does the webhook. if you just<br>
> disable aodh-notifier, the alarm won't be consumed and you can listen<br>
> to it yourself.<br>
<br>
</span>We have two motivations: one is that we want to get notifications on every change, but we don't want to register our webhook to each and every alarm; and the other is that we already listen to the message bus for other openstack components, so we would like to handle aodh the same way.<br>
<br>
If we disable aodh-notifier, won't it have other impacts on the system? What if someone else used a webhook, and won't be notified because we disabled the notifier?<br>
<span class=""><br>
> alternatively, it was discussed that maybe adding a zaqar notifier<br>
> would be useful. that way, aodh-notifier would send alarm to zaqar and<br>
> you could configure it to requeue or maybe send a smtp.<br>
<br>
</span>What are the advantages of using Zaqar over using the message bus? Is the solution you suggested already supported?<br></blockquote><div><br></div><div><br></div><div>This work is currently in progress, I'm hoping to get this support into Mitaka.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Ifat.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">--<div>Pradeep Kilambi; irc: prad</div><div>OpenStack Engineering</div></div></div></div></div>
</div></div>