From 8f670fd96a590cf65e2697aeb6de5a3a10e04001 Mon Sep 17 00:00:00 2001 From: Marianne Spiller Date: Wed, 7 Jun 2017 09:54:30 +0200 Subject: [PATCH] notification_type mandatory Make $notification_type$ mandatory in mail-service-notification, too. --- etc/icinga2/conf.d/commands.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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$"