mirror of https://github.com/Icinga/icinga2.git
parent
5619498762
commit
e24e128f65
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue