Re: [openstack-dev] [Ceilometer][Aodh] event-alarm fire policy

2015-09-08 Thread liusheng
Just a personal thought, can we add an ACK to alarm notifier? when an event-alarm fired, the alarm state transformed to "alarm", if 'alarm_action' has been set, the 'alarm_action' will be triggered and notify. for event-alarm, a timout can be set to wait the ACK from alarm notifier, if the ACK

Re: [openstack-dev] [Ceilometer][Aodh] event-alarm fire policy

2015-09-08 Thread Zhai, Edwin
Liusheng, Thanks for your idea. I think it guarantees alarm action got called. But I just want it fired upon each matching event. E.g. for each instance crash event. Have talked with MIBU, repeat-actions can be used for this purpose. Best, Edwin On Tue, 8 Sep 2015, liusheng wrote: Just a

[openstack-dev] [Ceilometer][Aodh] event-alarm fire policy

2015-09-07 Thread Zhai, Edwin
All, Currently, event-alarm is one-shot style: don't fire again for same event. But threshold-alarm is limited periodic style: 1. only get 1 fire for continuous valid datapoints. 2. Would get a new fire if insufficient data followed by valid ones, as we reset alarm state upon insufficient