mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +02:00
parent
cf67917542
commit
bc6bac9a62
@ -393,6 +393,13 @@ constants
|
||||
));
|
||||
}
|
||||
|
||||
public function getHostGroupObjects()
|
||||
{
|
||||
return $this->getDirectorObjects('HostGroup', 'HostGroup', 'hostgroups', array(
|
||||
'display_name' => 'display_name',
|
||||
));
|
||||
}
|
||||
|
||||
public function getCheckCommandObjects()
|
||||
{
|
||||
IcingaCommand::setPluginDir($this->getConstant('PluginDir'));
|
||||
|
@ -60,6 +60,7 @@ class ImportSourceCoreApi extends ImportSourceHook
|
||||
'CheckCommand' => $form->translate('Commands'),
|
||||
'Endpoint' => $form->translate('Endpoints'),
|
||||
'Host' => $form->translate('Hosts'),
|
||||
'HostGroup' => $form->translate('Hostgroups'),
|
||||
'User' => $form->translate('Users'),
|
||||
'Zone' => $form->translate('Zones'),
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user