diff --git a/library/Director/Objects/IcingaNotification.php b/library/Director/Objects/IcingaNotification.php new file mode 100644 index 00000000..eb0a8866 --- /dev/null +++ b/library/Director/Objects/IcingaNotification.php @@ -0,0 +1,45 @@ + null, + 'object_name' => null, + 'object_type' => null, + 'disabled' => 'n', + 'host_id' => null, + 'service_id' => null, + // 'users' => null, + // 'user_groups' => null, + 'times_begin' => null, + 'times_end' => null, + 'command' => null, + 'interval' => null, + 'period_id' => null, + 'zone_id' => null, + ); + + protected $supportsGroups = true; + + protected $supportsCustomVars = true; + + protected $supportsImports = true; + + protected $supportsApplyRules = true; + + protected $supportsNotificationFilters = false; // -> true + + protected $relations = array( + 'zone' => 'IcingaZone', + 'host' => 'IcingaHost', + 'command' => 'IcingaCommand', + 'period' => 'IcingaTimePeriod', + 'service' => 'IcingaService', + ); + + // listOfRelations -> users, user_groups +}