mirror of https://github.com/Icinga/icinga2.git
parent
0f81c357c0
commit
51e503fe0a
|
@ -430,7 +430,7 @@ Several object types require an object relation, e.g. [Service](9-object-types.m
|
||||||
If you for example create a service object you have to specify the [host_name](9-object-types.md#objecttype-service)
|
If you for example create a service object you have to specify the [host_name](9-object-types.md#objecttype-service)
|
||||||
attribute and reference an existing host attribute.
|
attribute and reference an existing host attribute.
|
||||||
|
|
||||||
object "ping4" {
|
object Service "ping4" {
|
||||||
check_command = "ping4"
|
check_command = "ping4"
|
||||||
host_name = "icinga2-client1.localdomain"
|
host_name = "icinga2-client1.localdomain"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue