diff --git a/doc/03-monitoring-basics.md b/doc/03-monitoring-basics.md index 80d57f5b5..15a8738a1 100644 --- a/doc/03-monitoring-basics.md +++ b/doc/03-monitoring-basics.md @@ -1702,7 +1702,7 @@ apply Notification "mail-host-notification" to Service { if (service.vars.notification.mail.groups) { user_groups = service.vars.notification.mail.groups - } else (host.vars.notification.mail.groups) { + } else if (host.vars.notification.mail.groups) { user_groups = host.vars.notification.mail.groups }