]> granicus.if.org Git - icinga2/commitdiff
Change the default notification interval to 30 minutes.
authorGunnar Beutner <gunnar.beutner@netways.de>
Wed, 9 Apr 2014 04:49:55 +0000 (06:49 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Wed, 9 Apr 2014 04:50:07 +0000 (06:50 +0200)
Refs #5909

doc/4.3-object-types.md
lib/icinga/notification.ti

index 5bd4c41c91bdba5ee402ce3353240b034f4e2251..c8233f5a4049da97b550b28c900d11a6c4cbb96f 100644 (file)
@@ -149,7 +149,7 @@ Attributes:
   user_groups               | **Optional.** A list of user group names who should be notified.
   times                     | **Optional.** A dictionary containing `begin` and `end` attributes for the notification.
   notification_command      | **Required.** The name of the notification command which should be executed when the notification is triggered.
-  notification_interval     | **Optional.** The notification interval (in seconds). This interval is used for active notifications. Defaults to 5 minutes. 
+  notification_interval     | **Optional.** The notification interval (in seconds). This interval is used for active notifications. Defaults to 30 minutes. 
   notification_period       | **Optional.** The name of a time period which determines when this notification should be triggered. Not set by default.
   notification_type_filter  | **Optional.** A list of state filters when this notification should be triggered. By default everything is matched.
   notification_state_filter | **Optional.** A list of type filters when this notification should be triggered. By default everything is matched.
index f6e145ebfc7e689a13625b75f565a29126c3aade..3ecc5cd5eb3a2fbf6f2effba8d87b0c4e09f2021 100644 (file)
@@ -15,7 +15,7 @@ class Notification : DynamicObject < NotificationNameComposer
 {
        [config, protected] String notification_command (NotificationCommandRaw);
        [config] double notification_interval {
-               default {{{ return 300; }}}
+               default {{{ return 1800; }}}
        };
        [config] String notification_period (NotificationPeriodRaw);
        [config] Dictionary::Ptr macros;