mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Added the field timeout in edition massive modules. TICKET #932
This commit is contained in:
parent
a26c72c1af
commit
6b577bed8d
@ -518,6 +518,11 @@ $table->data['edit11'][0] .= ui_print_help_tip(__('The module still store data b
|
|||||||
$table->data['edit11'][1] = html_print_select(array(-1 => __('No change'),
|
$table->data['edit11'][1] = html_print_select(array(-1 => __('No change'),
|
||||||
1 => __('Yes'), 0 => __('No')),
|
1 => __('Yes'), 0 => __('No')),
|
||||||
"quiet_select", -1, "", '', 0, true);
|
"quiet_select", -1, "", '', 0, true);
|
||||||
|
$table->data['edit11'][2] = __('Timeout');
|
||||||
|
$table->data['edit11'][3] = html_print_input_text(
|
||||||
|
'max_timeout', '', '', 5, 10, true) . ' ' .
|
||||||
|
ui_print_help_tip (
|
||||||
|
__('Seconds that agent will wait for the execution of the module.'), true);
|
||||||
|
|
||||||
echo '<form method="post" action="index.php?sec=gmassive&sec2=godmode/massive/massive_operations&option=edit_modules" id="form_edit">';
|
echo '<form method="post" action="index.php?sec=gmassive&sec2=godmode/massive/massive_operations&option=edit_modules" id="form_edit">';
|
||||||
html_print_table ($table);
|
html_print_table ($table);
|
||||||
@ -907,7 +912,7 @@ function process_manage_edit ($module_name, $agents_select = null) {
|
|||||||
'warning_instructions', 'unknown_instructions', 'policy_linked',
|
'warning_instructions', 'unknown_instructions', 'policy_linked',
|
||||||
'id_category', 'disabled_types_event', 'ip_target', 'descripcion',
|
'id_category', 'disabled_types_event', 'ip_target', 'descripcion',
|
||||||
'min_ff_event_normal', 'min_ff_event_warning', 'min_ff_event_critical',
|
'min_ff_event_normal', 'min_ff_event_warning', 'min_ff_event_critical',
|
||||||
'each_ff', 'module_ff_interval', 'ff_timeout');
|
'each_ff', 'module_ff_interval', 'ff_timeout', 'max_timeout');
|
||||||
$values = array ();
|
$values = array ();
|
||||||
|
|
||||||
// Specific snmp reused fields
|
// Specific snmp reused fields
|
||||||
|
Loading…
x
Reference in New Issue
Block a user