From: Frank Brehm Date: Tue, 27 Feb 2018 09:44:05 +0000 (+0100) Subject: saving uncommitted changes in /etc prior to apt run X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=578b872b2a518c9019cfe12455d7faa6e4cb3301;p=config%2Fns1%2Fetc.git saving uncommitted changes in /etc prior to apt run --- diff --git a/icinga2/conf.d/notifications.conf b/icinga2/conf.d/notifications.conf index 6a7e1f5..4e3488e 100644 --- a/icinga2/conf.d/notifications.conf +++ b/icinga2/conf.d/notifications.conf @@ -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 } diff --git a/icinga2/conf.d/services.conf b/icinga2/conf.d/services.conf index 5210347..98536f0 100644 --- a/icinga2/conf.d/services.conf +++ b/icinga2/conf.d/services.conf @@ -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 }