From 9754f98dce9b510cadc0a0091042372d4ff1a4d0 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 7d33be964..50062fc4c 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)