mirror of
https://github.com/FAUSheppy/monitoring-tools
synced 2025-12-06 03:21:35 +01:00
add notification to default group
This commit is contained in:
@@ -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 {
|
apply Notification "telegram-generic" to Service {
|
||||||
import "mail-service-notification"
|
import "mail-service-notification"
|
||||||
|
user_groups = ["icingaadmins"]
|
||||||
|
command = "telegram-service-notification"
|
||||||
assign where host.address
|
assign where host.address
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user