]> granicus.if.org Git - icinga2/commitdiff
Fix wrong service apply rule examples for ping{4,6}.
authorMichael Friedrich <michael.friedrich@gmail.com>
Thu, 22 May 2014 21:05:39 +0000 (23:05 +0200)
committerMichael Friedrich <michael.friedrich@gmail.com>
Thu, 22 May 2014 21:05:39 +0000 (23:05 +0200)
Refs #6266

doc/2-getting-started.md
etc/icinga2/conf.d/services.conf

index 72e26b26c40cff7eb80c30993cb61e9cb1548d76..f4dde87dbb65409e9496e9958350586f934c782f 100644 (file)
@@ -306,8 +306,8 @@ a valid `address` resp. `address6` attribute will be excluded.
       check_command = "ping4"
       vars.sla = "24x7"
 
-      assign where "linux-server" in host.groups
-      assign where "windows-server" in host.groups
+      assign where "linux-servers" in host.groups
+      assign where "windows-servers" in host.groups
       ignore where host.address == ""
     }
 
@@ -317,8 +317,8 @@ a valid `address` resp. `address6` attribute will be excluded.
       check_command = "ping6"
       vars.sla = "24x7"
 
-      assign where "linux-server" in host.groups
-      assign where "windows-server" in host.groups
+      assign where "linux-servers" in host.groups
+      assign where "windows-servers" in host.groups
       ignore where host.address6 == ""
     }
 
index 0c6d38a1c7042b2767edeead4791d1945c7a0f61..abce298bfa053eb2b9c9e4b2697d9897b3ac89ef 100644 (file)
@@ -13,8 +13,8 @@ apply Service "ping4" {
   check_command = "ping4"
   vars.sla = "24x7"
 
-  assign where "linux-server" in host.groups
-  assign where "windows-server" in host.groups
+  assign where "linux-servers" in host.groups
+  assign where "windows-servers" in host.groups
   ignore where host.address == ""
 }
 
@@ -24,8 +24,8 @@ apply Service "ping6" {
   check_command = "ping6"
   vars.sla = "24x7"
 
-  assign where "linux-server" in host.groups
-  assign where "windows-server" in host.groups
+  assign where "linux-servers" in host.groups
+  assign where "windows-servers" in host.groups
   ignore where host.address6 == ""
 }