mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-12 16:24:41 +02:00
parent
7f99556727
commit
62ee130a2f
@ -477,6 +477,9 @@ Assign the notification escalation to the service `dep_svc01` on all hosts in th
|
|||||||
assign where service.name == "dep_svc01" && "hg_svcdep2" in host.groups
|
assign where service.name == "dep_svc01" && "hg_svcdep2" in host.groups
|
||||||
}
|
}
|
||||||
|
|
||||||
|
The assign rule could be made more generic and the notification be applied to more than
|
||||||
|
just this service belonging to hosts in the matched hostgroup.
|
||||||
|
|
||||||
|
|
||||||
> **Note**
|
> **Note**
|
||||||
>
|
>
|
||||||
@ -641,7 +644,6 @@ below:
|
|||||||
When migrating to Icinga 2, the parents must be changed to a newly created host dependency.
|
When migrating to Icinga 2, the parents must be changed to a newly created host dependency.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Map the following attributes
|
Map the following attributes
|
||||||
|
|
||||||
Icinga 1.x | Icinga 2
|
Icinga 1.x | Icinga 2
|
||||||
@ -650,6 +652,8 @@ Map the following attributes
|
|||||||
dependent_host_name | child_host_name (used in assign/ignore)
|
dependent_host_name | child_host_name (used in assign/ignore)
|
||||||
dependent_hostgroup_name | all child hosts in group (used in assign/ignore)
|
dependent_hostgroup_name | all child hosts in group (used in assign/ignore)
|
||||||
|
|
||||||
|
The Icinga 2 configuration looks like this:
|
||||||
|
|
||||||
|
|
||||||
object Host "vmware-master" {
|
object Host "vmware-master" {
|
||||||
import "linux-server-template"
|
import "linux-server-template"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user