add channel option to disable the resolved alert (OK Message) that is sent when condition returns to normal.

This commit is contained in:
Dave Waters
2018-10-15 17:16:14 -04:00
parent 938541be2e
commit 6376154b16
8 changed files with 96 additions and 63 deletions

View File

@@ -12,6 +12,7 @@ export class AlertNotificationEditCtrl {
defaults: any = {
type: 'email',
sendReminder: false,
disableResolvedMessage: false,
frequency: '15m',
settings: {
httpMethod: 'POST',

View File

@@ -32,6 +32,13 @@
checked="ctrl.model.settings.uploadImage"
tooltip="Captures an image and include it in the notification">
</gf-form-switch>
<gf-form-switch
class="gf-form"
label="Disable OK Alert"
label-class="width-12"
checked="ctrl.model.disableResolvedMessage"
tooltip="Disable the OK Alert that is sent when alerting state returns to false">
</gf-form-switch>
<gf-form-switch
class="gf-form"
label="Send reminders"