IcingaServiceForm: allow to set use_agent

This commit is contained in:
Thomas Gelf 2015-12-18 11:59:08 +01:00
parent 01be02fe9c
commit 80a757847d
1 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,11 @@ class IcingaServiceForm extends DirectorObjectForm
'description' => $this->translate('One or more comma separated servicegroup names')
));
*/
$this->optionalBoolean(
'use_agent',
$this->translate('Run on agent'),
$this->translate('Whether the check commmand for this service should be executed on the Icinga agent')
);
$this->addImportsElement();
$this->addCheckCommandElements();