mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 06:05:01 +02:00
Add notification custom vars to the satellite-{host,service} templates
fixes #7770
This commit is contained in:
parent
764d72a61a
commit
b22d3c099a
@ -9,7 +9,9 @@
|
|||||||
* attributes used for notifications, etc.
|
* attributes used for notifications, etc.
|
||||||
*/
|
*/
|
||||||
template Host "satellite-host" {
|
template Host "satellite-host" {
|
||||||
|
vars.notification["mail"] = {
|
||||||
|
groups = [ "icingaadmins" ]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -18,7 +20,9 @@ template Host "satellite-host" {
|
|||||||
* attributes used for notifications, etc.
|
* attributes used for notifications, etc.
|
||||||
*/
|
*/
|
||||||
template Service "satellite-service" {
|
template Service "satellite-service" {
|
||||||
|
vars.notification["mail"] = {
|
||||||
|
groups = [ "icingaadmins" ]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user