On Thu, Feb 16, 2017 at 03:33:43PM +0200, Denis Makogon wrote:
Hello Mehdi. Thanks for response. See comments inline.

2017-02-16 15:25 GMT+02:00 Mehdi Abaakouk <sil...@sileht.net>:

Hi,

On Thu, Feb 16, 2017 at 03:04:52PM +0200, Denis Makogon wrote:

Greetings.

Could someone provide any guidelines for checking why alarm or ok-action
webhooks are not being executed. Is it possible to investigate an issue by
analyzing ceilometer and/or aodh logs?

So, my devstack setup based on master branch with local.conf (see
https://gist.github.com/denismakogon/4d88bdbea4bf428e55e88d25d52735f6)

Once devstack installed i'm checking if notifications are being emitted
while uploading files to Swift and i'm able to see events in Ceilometer
(see https://gist.github.com/denismakogon/c6ad75899dcc50ce2a9b9f6
a4e0612f7).

After that i'm trying to setup Aodh event alarm (see
https://gist.github.com/denismakogon/f6449e71ba9bb04cdd0065b52918b5af)

And that's where i'm stuck, while working with Swift i see notifications
are coming from ceilometermiddleware to Panko and available in Ceilometer
via event-list but no alarm being triggered in Aodh.

So, could someone explain me what am i doing wrong or am i missing
something?


I think devstack plugins currently doesn't setup the Ceilometer stuffs to
be able to use events in Aodh.


So, if i would drop off both Aodh and Panko from this setup it may appear
that issue will be solved somehow?

I don't get it, I have thought your goal was to create alarm triggered on
event. And for this you need Aodh and Ceilometer (not Panko).

You have to do 
https://docs.openstack.org/developer/aodh/event-alarm.html#configuration
manually to get events emitted by Ceilometer received by Aodh.

Note that Aodh doesn't query Panko, but listen for event on alarm.all
topic by
default. I'm guessing the Ceilometer conf/pipeline have to be tweaked to
send
events to Aodh somehow.


Yes, i know that, in this setup Ceilometer depends on Panko as event
source, is that right?

No, Panko is for storage of event in a database (It's a API and a
Ceilometer dispatcher plugin). Events are still built from notification
by Ceilometer (agent-notification).

Rephrase from Ceilometer point of view. Ceilometer send events to Aodh AND 
Panko.

Regards,

--
Mehdi Abaakouk
mail: sil...@sileht.net
irc: sileht

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to