mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
DirectorObjectForm: add max_check_attempts
This commit is contained in:
parent
755112eac5
commit
d6be2e777c
@ -1153,6 +1153,17 @@ abstract class DirectorObjectForm extends QuickForm
|
||||
)
|
||||
);
|
||||
|
||||
$this->addElement(
|
||||
'text',
|
||||
'max_check_attempts',
|
||||
array(
|
||||
'label' => $this->translate('Max check attempts'),
|
||||
'description' => $this->translate(
|
||||
'Defines after how many check attempts a new hard state is reached'
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
$periods = $this->db->enumTimeperiods();
|
||||
if (!empty($periods)) {
|
||||
|
||||
@ -1209,6 +1220,7 @@ abstract class DirectorObjectForm extends QuickForm
|
||||
$elements = array(
|
||||
'check_interval',
|
||||
'retry_interval',
|
||||
'max_check_attempts',
|
||||
'check_period_id',
|
||||
'enable_active_checks',
|
||||
'enable_passive_checks',
|
||||
|
Loading…
x
Reference in New Issue
Block a user