]> granicus.if.org Git - icinga2/commitdiff
notification_type mandatory 5332/head
authorMarianne Spiller <github@spiller.me>
Wed, 7 Jun 2017 07:54:30 +0000 (09:54 +0200)
committerGitHub <noreply@github.com>
Wed, 7 Jun 2017 07:54:30 +0000 (09:54 +0200)
Make $notification_type$ mandatory in mail-service-notification, too.

etc/icinga2/conf.d/commands.conf

index d40fb84e8c887cc961bb996c96d74a0a3303c037..05e08c261617fba50384841ec7d7104a249c4b6d 100644 (file)
@@ -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$"