diff --git a/pandora_console/godmode/agentes/module_manager_editor_common.php b/pandora_console/godmode/agentes/module_manager_editor_common.php index 1f0f3c59c2..bc7db02404 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_common.php +++ b/pandora_console/godmode/agentes/module_manager_editor_common.php @@ -524,6 +524,11 @@ $tableBasicThresholds->data['switch_warning_threshold'][0] .= html_print_div( true ); +// CHANGE TO CRITICAL STATUS +$tableBasicThresholds->data['caption_warning_time'][0] .= __('Change to critical status after'); +$tableBasicThresholds->data['warning_time'][0] .= html_print_input_text('warning_time', $warning_time, '', 5, 15, true); +$tableBasicThresholds->data['warning_time'][1] .= '  '.__('intervals in warning status.').''; + // CRITICAL THRESHOLD. $tableBasicThresholds->rowclass['caption_critical_threshold'] = 'field_half_width pdd_t_10px'; $tableBasicThresholds->rowclass['critical_threshold'] = 'field_half_width'; @@ -607,7 +612,7 @@ $tableBasicThresholds->data['critical_threshold'][0] .= html_print_input_text( $classdisabledBecauseInPolicy ); -$table_simple->rowstyle['thresholds_table'] = 'margin-top: 15px;height: 340px;width: 100%'; +$table_simple->rowstyle['thresholds_table'] = 'margin-top: 15px;height: 400px;width: 100%'; $table_simple->cellclass['thresholds_table'][0] = 'table_section half_section_left'; $table_simple->data['thresholds_table'][0] = html_print_table($tableBasicThresholds, true); if (modules_is_string_type($id_module_type) === false || (bool) $edit === true) { @@ -1938,7 +1943,7 @@ $(document).ready (function () { var thisLabel = $(this).attr('for'); $('#'+thisLabel).prop('checked', true); $('#'+thisLabel).siblings().prop('checked', false); - + if ($('#radius-percentage_warning').prop('checked') === true || $('#radius-percentage_critical').prop('checked') === true) { $("#svg_dinamic").hide(); } else {