mirror of https://github.com/Icinga/icinga2.git
parent
1e4c5cf2f2
commit
47479ac4de
|
@ -99,6 +99,15 @@ Signature:
|
|||
Returns the UserGroup object with the specified name, or `null` if no such UserGroup object exists.
|
||||
|
||||
|
||||
### <a id="objref-get_time_period"></a> get_time_period
|
||||
|
||||
Signature:
|
||||
|
||||
function get_time_period(name);
|
||||
|
||||
Returns the TimePeriod object with the specified name, or `null` if no such TimePeriod object exists.
|
||||
|
||||
|
||||
### <a id="objref-get_object"></a> get_object
|
||||
|
||||
Signature:
|
||||
|
|
|
@ -38,6 +38,7 @@ REGISTER_SCRIPTFUNCTION(get_notification_command, &NotificationCommand::GetByNam
|
|||
REGISTER_SCRIPTFUNCTION(get_host_group, &HostGroup::GetByName);
|
||||
REGISTER_SCRIPTFUNCTION(get_service_group, &ServiceGroup::GetByName);
|
||||
REGISTER_SCRIPTFUNCTION(get_user_group, &UserGroup::GetByName);
|
||||
REGISTER_SCRIPTFUNCTION(get_time_period, &TimePeriod::GetByName);
|
||||
|
||||
Service::Ptr ObjectUtils::GetService(const String& host, const String& name)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue