From eebb27c5074ec779c63cbbb84aab46e39ba1809e Mon Sep 17 00:00:00 2001 From: Chris Goller Date: Thu, 9 Feb 2017 00:29:19 -0600 Subject: [PATCH] Add exec to supported kapacitor alerts --- kapacitor/alerts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kapacitor/alerts.go b/kapacitor/alerts.go index 7d33be9646..50062fc4c9 100644 --- a/kapacitor/alerts.go +++ b/kapacitor/alerts.go @@ -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)