]> Frank Brehm's Git Trees - config/ns1/etc.git/commitdiff
saving uncommitted changes in /etc prior to apt run
authorFrank Brehm <frank@brehm-online.com>
Tue, 27 Feb 2018 09:44:05 +0000 (10:44 +0100)
committerFrank Brehm <frank@brehm-online.com>
Tue, 27 Feb 2018 09:44:05 +0000 (10:44 +0100)
icinga2/conf.d/notifications.conf
icinga2/conf.d/services.conf

index 6a7e1f5a489d963fb416c0d893b34259364e8b9a..4e3488e678fa9151a7b246f5cdfeb799a1794bca 100644 (file)
@@ -13,9 +13,10 @@ apply Notification "mail-icingaadmin" to Host {
   user_groups = host.vars.notification.mail.groups
   users = host.vars.notification.mail.users
 
-  //interval = 2h
+  interval = 2h
+  times.begin = 10m
 
-  //vars.notification_logtosyslog = true
+  vars.notification_logtosyslog = true
 
   assign where host.vars.notification.mail
 }
@@ -25,9 +26,10 @@ apply Notification "mail-icingaadmin" to Service {
   user_groups = host.vars.notification.mail.groups
   users = host.vars.notification.mail.users
 
-  //interval = 2h
+  interval = 2h
+  times.begin = 15m
 
-  //vars.notification_logtosyslog = true
+  vars.notification_logtosyslog = true
 
   assign where host.vars.notification.mail
 }
index 5210347e80f2e1cece6fe7070c9e5822a98c68db..98536f0a4bd5016858e0ed4719581499f7e66ede 100644 (file)
@@ -59,6 +59,8 @@ apply Service for (http_vhost => config in host.vars.http_vhosts) {
 
   check_command = "http"
   enable_flapping = true
+  check_interval = 3m
+  retry_interval = 1m
 
   vars += config
 }