From: Marianne Spiller Date: Wed, 7 Jun 2017 07:54:30 +0000 (+0200) Subject: notification_type mandatory X-Git-Tag: v2.7.0~36^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=refs%2Fpull%2F5332%2Fhead;p=icinga2 notification_type mandatory Make $notification_type$ mandatory in mail-service-notification, too. --- diff --git a/etc/icinga2/conf.d/commands.conf b/etc/icinga2/conf.d/commands.conf index d40fb84e8..05e08c261 100644 --- a/etc/icinga2/conf.d/commands.conf +++ b/etc/icinga2/conf.d/commands.conf @@ -100,7 +100,10 @@ object NotificationCommand "mail-service-notification" { required = true value = "$notification_servicestate$" } - "-t" = "$notification_type$" + "-t" = { + required = true + value = "$notification_type$" + } "-u" = { required = true value = "$notification_servicedisplayname$"