From: Michael Friedrich Date: Tue, 21 Apr 2015 10:15:53 +0000 (+0200) Subject: Documentation: Fix missing parenthesis X-Git-Tag: v2.4.0~709 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=549be7152ceee6e77dbca4818af72eea0895ea82;p=icinga2 Documentation: Fix missing parenthesis fixes #9131 --- diff --git a/doc/3-monitoring-basics.md b/doc/3-monitoring-basics.md index 9d3537149..877b90ae1 100644 --- a/doc/3-monitoring-basics.md +++ b/doc/3-monitoring-basics.md @@ -484,13 +484,12 @@ The notification is ignored for services whose host name ends with `*internal` apply Notification "notify-cust-xy-mysql" to Service { import "cust-xy-notification" - assign where match("*has gold support 24x7*", service.notes) && (host.vars.customer == "customer-xy" || host.vars.always_notify == true + assign where match("*has gold support 24x7*", service.notes) && (host.vars.customer == "customer-xy" || host.vars.always_notify == true) ignore where match("*internal", host.name) || (service.vars.priority < 2 && host.vars.is_clustered == true) } - ### Apply Services to Hosts The sample configuration already includes a detailed example in [hosts.conf](5-configuring-icinga-2.md#hosts-conf)