mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Documentation: Fix using templates.
This commit is contained in:
parent
3326b0190a
commit
c7382b2acb
@ -12,7 +12,7 @@ configuration:
|
|||||||
check_command = "ping4"
|
check_command = "ping4"
|
||||||
},
|
},
|
||||||
|
|
||||||
check = "ping4"
|
check = "ping"
|
||||||
}
|
}
|
||||||
|
|
||||||
object Host "my-server1" inherits "linux-server" {
|
object Host "my-server1" inherits "linux-server" {
|
||||||
@ -23,8 +23,9 @@ configuration:
|
|||||||
macros["address"] = "10.0.0.2"
|
macros["address"] = "10.0.0.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
In this example both `my-server1` and `my-server2` each get their own ping
|
In this example both `my-server1` and `my-server2` each get their own `ping`
|
||||||
service check.
|
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
|
Objects as well as templates themselves can inherit from an arbitrary number of
|
||||||
templates. Attributes inherited from a template can be overridden in the
|
templates. Attributes inherited from a template can be overridden in the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user