From b421454b4228c56a9dfddb93af3147850869dce2 Mon Sep 17 00:00:00 2001 From: "root@atlantishq-michy-sheppy" Date: Thu, 11 Jun 2020 01:56:37 +0200 Subject: [PATCH] add notification to default group --- commands.d/telegram-notify.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/commands.d/telegram-notify.conf b/commands.d/telegram-notify.conf index accbd89..4dfc8b1 100644 --- a/commands.d/telegram-notify.conf +++ b/commands.d/telegram-notify.conf @@ -67,7 +67,15 @@ object NotificationCommand "telegram-service-notification" { } } +object User "telegram-dummy-user" { + import "generic-user" + display_name = "User acting as notification Sink for Telegram Notifications" + email = "reject@none.none" +} + apply Notification "telegram-generic" to Service { import "mail-service-notification" + user_groups = ["icingaadmins"] + command = "telegram-service-notification" assign where host.address }