]> granicus.if.org Git - icinga2/commitdiff
Documentation: Fix using templates.
authorMichael Friedrich <michael.friedrich@netways.de>
Fri, 11 Oct 2013 11:46:06 +0000 (13:46 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Fri, 11 Oct 2013 11:46:06 +0000 (13:46 +0200)
doc/3.05-using-templates.md

index 49ed92c4738efb86842b36d4673c7662db51dc3e..0ba9bbed42aab5ccf40c5e8919bd492f9f5fbda1 100644 (file)
@@ -12,7 +12,7 @@ configuration:
         check_command = "ping4"
       },
 
-      check = "ping4"
+      check = "ping"
     }
 
     object Host "my-server1" inherits "linux-server" {
@@ -23,8 +23,9 @@ configuration:
       macros["address"] = "10.0.0.2"
     }
 
-In this example both `my-server1` and `my-server2` each get their own ping
-service check.
+In this example both `my-server1` and `my-server2` each get their own `ping`
+service check. Each host gets its own host `check` defined as the `ping`
+service too.
 
 Objects as well as templates themselves can inherit from an arbitrary number of
 templates. Attributes inherited from a template can be overridden in the