1 ## <a id="using-templates"></a> Using Templates
3 Templates may be used to apply a set of identical attributes to more than one
6 template Service "generic-service" {
10 enable_perfdata = true
13 object Service "ping4" {
14 import "generic-service"
16 host_name = "localhost"
17 check_command = "ping4"
20 object Service "ping6" {
21 import "generic-service"
23 host_name = "localhost"
24 check_command = "ping6"
27 In this example the `ping4` and `ping6` services inherit properties from the
28 template `generic-service`.
30 Objects as well as templates themselves can import an arbitrary number of
31 templates. Attributes inherited from a template can be overridden in the