[icinga-checkins] icinga.org: icinga2/fix/add-missing-suse-build-requirement-7741: Add notification custom vars to the satellite-{host, service} templates

git at icinga.org git at icinga.org
Tue Nov 25 12:10:20 CET 2014


Module: icinga2
Branch: fix/add-missing-suse-build-requirement-7741
Commit: b22d3c099aa182819fd4871d9579bec74fe188e7
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=b22d3c099aa182819fd4871d9579bec74fe188e7

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri Nov 21 14:02:51 2014 +0100

Add notification custom vars to the satellite-{host,service} templates

fixes #7770

---

 etc/icinga2/conf.d/satellite.conf |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/etc/icinga2/conf.d/satellite.conf b/etc/icinga2/conf.d/satellite.conf
index 01ba1af..4a6b97a 100644
--- a/etc/icinga2/conf.d/satellite.conf
+++ b/etc/icinga2/conf.d/satellite.conf
@@ -9,7 +9,9 @@
  * attributes used for notifications, etc.
  */
 template Host "satellite-host" {
-
+  vars.notification["mail"] = {
+    groups = [ "icingaadmins" ]
+  }
 }
 
 /**
@@ -18,7 +20,9 @@ template Host "satellite-host" {
  * attributes used for notifications, etc.
  */
 template Service "satellite-service" {
-
+  vars.notification["mail"] = {
+    groups = [ "icingaadmins" ]
+  }
 }
 
 



More information about the icinga-checkins mailing list