mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
DirectorObjectForm: intervals for check execution
This commit is contained in:
parent
1ff57f8b07
commit
023e15d057
@ -804,6 +804,16 @@ abstract class DirectorObjectForm extends QuickForm
|
|||||||
protected function addCheckExecutionElements()
|
protected function addCheckExecutionElements()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
$this->addElement('text', 'check_interval', array(
|
||||||
|
'label' => $this->translate('Check interval'),
|
||||||
|
'description' => $this->translate('Your regular check interval')
|
||||||
|
));
|
||||||
|
|
||||||
|
$this->addElement('text', 'retry_interval', array(
|
||||||
|
'label' => $this->translate('Retry interval'),
|
||||||
|
'description' => $this->translate('Retry interval, will be applied after a state change unless the next hard state is reached')
|
||||||
|
));
|
||||||
|
|
||||||
$this->optionalBoolean(
|
$this->optionalBoolean(
|
||||||
'enable_active_checks',
|
'enable_active_checks',
|
||||||
$this->translate('Execute active checks'),
|
$this->translate('Execute active checks'),
|
||||||
@ -841,6 +851,8 @@ abstract class DirectorObjectForm extends QuickForm
|
|||||||
);
|
);
|
||||||
|
|
||||||
$elements = array(
|
$elements = array(
|
||||||
|
'check_interval',
|
||||||
|
'retry_interval',
|
||||||
'enable_active_checks',
|
'enable_active_checks',
|
||||||
'enable_passive_checks',
|
'enable_passive_checks',
|
||||||
'enable_notifications',
|
'enable_notifications',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user