diff --git a/pandora_console/operation/agentes/status_monitor.php b/pandora_console/operation/agentes/status_monitor.php index 8b1a1985df..b33917846e 100644 --- a/pandora_console/operation/agentes/status_monitor.php +++ b/pandora_console/operation/agentes/status_monitor.php @@ -75,6 +75,7 @@ if (! defined('METACONSOLE')) { exit(); } } else { + $section = (string) get_parameter('sec', 'estado'); ui_meta_print_header(__('Monitor view')); } @@ -740,7 +741,7 @@ foreach ($custom_fields as $custom_field) { $table_custom_fields->data[] = $row; } -$filters = '
'; +$filters = ''; if (is_metaconsole()) { $table->colspan[4][0] = 7; $table->cellstyle[4][0] = 'padding: 10px;'; @@ -1141,16 +1142,16 @@ if (($config['dbtype'] == 'oracle') && ($result !== false)) { // Urls to sort the table. -$url_agent_name = 'index.php?sec=view&sec2=operation/agentes/status_monitor'; -$url_type = 'index.php?sec=view&sec2=operation/agentes/status_monitor'; -$url_module_name = 'index.php?sec=view&sec2=operation/agentes/status_monitor'; -$url_server_type = 'index.php?sec=view&sec2=operation/agentes/status_monitor'; -$url_interval = 'index.php?sec=view&sec2=operation/agentes/status_monitor'; -$url_status = 'index.php?sec=view&sec2=operation/agentes/status_monitor'; -$url_status = 'index.php?sec=view&sec2=operation/agentes/status_monitor'; -$url_data = 'index.php?sec=view&sec2=operation/agentes/status_monitor'; -$url_timestamp_up = 'index.php?sec=view&sec2=operation/agentes/status_monitor'; -$url_timestamp_down = 'index.php?sec=view&sec2=operation/agentes/status_monitor'; +$url_agent_name = 'index.php?sec='.$section.'&sec2=operation/agentes/status_monitor'; +$url_type = 'index.php?sec='.$section.'&sec2=operation/agentes/status_monitor'; +$url_module_name = 'index.php?sec='.$section.'&sec2=operation/agentes/status_monitor'; +$url_server_type = 'index.php?sec='.$section.'&sec2=operation/agentes/status_monitor'; +$url_interval = 'index.php?sec='.$section.'&sec2=operation/agentes/status_monitor'; +$url_status = 'index.php?sec='.$section.'&sec2=operation/agentes/status_monitor'; +$url_status = 'index.php?sec='.$section.'&sec2=operation/agentes/status_monitor'; +$url_data = 'index.php?sec='.$section.'&sec2=operation/agentes/status_monitor'; +$url_timestamp_up = 'index.php?sec='.$section.'&sec2=operation/agentes/status_monitor'; +$url_timestamp_down = 'index.php?sec='.$section.'&sec2=operation/agentes/status_monitor'; $url_agent_name .= '&refr='.$refr.'&datatype='.$datatype.'&moduletype='.$moduletype.'&modulegroup='.$modulegroup.'&offset='.$offset.'&ag_group='.$ag_group.'&ag_freestring='.$ag_freestring.'&ag_modulename='.$ag_modulename.'&status='.$status.$ag_custom_fields_params; $url_type .= '&datatype='.$datatype.'&moduletype='.$moduletype.'&refr='.$refr.'&modulegroup='.$modulegroup.'&offset='.$offset.'&ag_group='.$ag_group.'&ag_freestring='.$ag_freestring.'&ag_modulename='.$ag_modulename.'&status='.$status.$ag_custom_fields_params;