mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +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()
|
public function getCheckCommandObjects()
|
||||||
{
|
{
|
||||||
IcingaCommand::setPluginDir($this->getConstant('PluginDir'));
|
IcingaCommand::setPluginDir($this->getConstant('PluginDir'));
|
||||||
|
@ -60,6 +60,7 @@ class ImportSourceCoreApi extends ImportSourceHook
|
|||||||
'CheckCommand' => $form->translate('Commands'),
|
'CheckCommand' => $form->translate('Commands'),
|
||||||
'Endpoint' => $form->translate('Endpoints'),
|
'Endpoint' => $form->translate('Endpoints'),
|
||||||
'Host' => $form->translate('Hosts'),
|
'Host' => $form->translate('Hosts'),
|
||||||
|
'HostGroup' => $form->translate('Hostgroups'),
|
||||||
'User' => $form->translate('Users'),
|
'User' => $form->translate('Users'),
|
||||||
'Zone' => $form->translate('Zones'),
|
'Zone' => $form->translate('Zones'),
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user