Add exec to supported kapacitor alerts
parent
7b15168fb1
commit
eebb27c507
|
@ -21,7 +21,7 @@ func kapaHandler(handler string) (string, error) {
|
|||
return "email", nil
|
||||
case "http":
|
||||
return "post", nil
|
||||
case "alerta", "sensu", "slack", "email", "talk", "telegram", "post", "tcp":
|
||||
case "alerta", "sensu", "slack", "email", "talk", "telegram", "post", "tcp", "exec":
|
||||
return handler, nil
|
||||
default:
|
||||
return "", fmt.Errorf("Unsupported alert handler %s", handler)
|
||||
|
|
Loading…
Reference in New Issue