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…
Reference in New Issue