| commit | 6faa8623b9b474953b8bc713c1d2cfbff1cabaa7 | [log] [tgz] |
|---|---|---|
| author | Guillaume Thouvenin <gthouvenin@mirantis.com> | Tue Feb 28 16:40:42 2017 +0100 |
| committer | Guillaume Thouvenin <gthouvenin@mirantis.com> | Wed Mar 08 17:46:12 2017 +0100 |
| tree | 29488c01bb4e6e9ad0358597392715f33ec82d61 | |
| parent | 43e741fc1defd9cc8a71449d14ac803f47606274 [diff] |
Manage notification handler for Sensu
This patch adds two things:
- the field 'handler' to an alarm. Now an alarm can be described as
alarm_name:
policy: name_of_policy
alerting: enabled_with_notifications
handler: mail
...
- a new parameter 'notification_handler' to pass the handler that
can now be added to an alarm.
Change-Id: I1e0767b3c1aa664110c97ae5f8fafc47c9682ab9