]> granicus.if.org Git - icinga2/commitdiff
Documentation: Fix missing parenthesis
authorMichael Friedrich <michael.friedrich@netways.de>
Tue, 21 Apr 2015 10:15:53 +0000 (12:15 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Tue, 21 Apr 2015 10:17:20 +0000 (12:17 +0200)
fixes #9131

doc/3-monitoring-basics.md

index 7686dfda7a54bacf0ea1df050c401ebb0af5e4fc..e4fcd01a30470c9a9dd4f83f884c52a3d58fc871 100644 (file)
@@ -481,13 +481,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)
     }
 
 
 
-
 ### <a id="using-apply-services"></a> Apply Services to Hosts
 
 The sample configuration already includes a detailed example in [hosts.conf](5-configuring-icinga-2.md#hosts-conf)