commit | 7edff11d2df9dc423c189b244e605ee2cdbea3fe | [log] [tgz] |
---|---|---|
author | Guillaume Thouvenin <gthouvenin@mirantis.com> | Wed Mar 01 11:40:13 2017 +0100 |
committer | Guillaume Thouvenin <gthouvenin@mirantis.com> | Wed Mar 08 17:48:13 2017 +0100 |
tree | 2da87d7aef67138bfd960467ef8b9b2cbd12572b | |
parent | 6faa8623b9b474953b8bc713c1d2cfbff1cabaa7 [diff] |
Add Sensu handler if there is a field notification_handler A notification handler can be configured in the sensu encoder and we can overwrite it by setting a key 'notification_handler' in the alarm definition and enabling notification. A noop handler that is doing nothing can also be set and it will be used to manage cases where alerting is enabled without notifications. Change-Id: I1f38fb0aa6c27a3a8c2f582067f8c7af9b0c1a4b