diff --git a/pandora_console/extensions/agents_modules.php b/pandora_console/extensions/agents_modules.php index 97657f5189..30176f5625 100644 --- a/pandora_console/extensions/agents_modules.php +++ b/pandora_console/extensions/agents_modules.php @@ -538,11 +538,7 @@ function mainAgentsModules() echo ""; $win_handle = dechex(crc32($module_id.$module['name'])); $graph_type = return_graphtype(modules_get_agentmodule_type($module_id)); - $link = "winopeng('".'operation/agentes/stat_win.php?'."type=$graph_type&".'period='.SECONDS_1DAY.'&'.'id='.$module_id.'&'.'label='.rawurlencode( - urlencode( - base64_encode($module['name']) - ) - ).'&'.'refresh='.SECONDS_10MINUTES."', 'day_".$win_handle."')"; + $link = "winopeng('".'operation/agentes/stat_win.php?'."type=$graph_type&".'period='.SECONDS_1DAY.'&'.'id='.$module_id.'&'.'refresh='.SECONDS_10MINUTES."', 'day_".$win_handle."')"; echo ''; switch ($status) { diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index e34d287da5..b91dc464f4 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -1141,11 +1141,7 @@ if (check_login()) { $draw_events = 0; } - $link = "winopeng_var('".'operation/agentes/stat_win.php?'."type=$graph_type&".'period='.SECONDS_1DAY.'&id='.$module['id_agente_modulo'].'&label='.rawurlencode( - urlencode( - base64_encode($module['nombre']) - ) - ).'&refresh='.SECONDS_10MINUTES.'&'."draw_events=$draw_events', 'day_".$win_handle."', 1000, 700)"; + $link = "winopeng_var('".'operation/agentes/stat_win.php?'."type=$graph_type&".'period='.SECONDS_1DAY.'&id='.$module['id_agente_modulo'].'&refresh='.SECONDS_10MINUTES.'&'."draw_events=$draw_events', 'day_".$win_handle."', 1000, 700)"; if (!is_snapshot_data($module['datos'])) { $data[8] .= ''.html_print_image('images/chart_curve.png', true, ['border' => '0', 'alt' => '']).'   '; } diff --git a/pandora_console/include/class/Tree.class.php b/pandora_console/include/class/Tree.class.php index f5af14a6db..d448a2b1ed 100644 --- a/pandora_console/include/class/Tree.class.php +++ b/pandora_console/include/class/Tree.class.php @@ -652,7 +652,6 @@ class Tree 'type' => $graphType, 'period' => SECONDS_1DAY, 'id' => $module['id'], - 'label' => base64_encode($module['name']), 'refresh' => SECONDS_10MINUTES, ]; diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index ffb36aa3ae..bf2dfba758 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -4083,7 +4083,6 @@ function events_page_details($event, $server='') 'type' => $graph_type, 'period' => SECONDS_1DAY, 'id' => $module['id_agente_modulo'], - 'label' => base64_encode($module['nombre']), 'refresh' => SECONDS_10MINUTES, ]; diff --git a/pandora_console/operation/agentes/stat_win.php b/pandora_console/operation/agentes/stat_win.php index 25733d6531..05fd4c7c4b 100644 --- a/pandora_console/operation/agentes/stat_win.php +++ b/pandora_console/operation/agentes/stat_win.php @@ -53,7 +53,6 @@ $id = get_parameter('id'); $id_agent = db_get_value('id_agente', 'tagente_modulo', 'id_agente_modulo', $id); $alias = db_get_value('alias', 'tagente', 'id_agente', $id_agent); $label = db_get_value('nombre', 'tagente_modulo', 'id_agente_modulo', $id); -$label_graph = $label; // $agent = agents_get_agent_with_ip ("192.168.50.31"); // $label = rawurldecode(urldecode(base64_decode(get_parameter('label', '')))); ?> @@ -117,7 +116,6 @@ $label_graph = $label; $period = get_parameter('period'); $id = get_parameter('id', 0); - $label = get_parameter('label', ''); $start_date = get_parameter('start_date', date('Y/m/d')); $start_time = get_parameter('start_time', date('H:i:s')); $draw_events = get_parameter('draw_events', 0); @@ -189,7 +187,7 @@ $label_graph = $label; 'agent_module_id' => $id, 'period' => $period, 'show_events' => $draw_events, - 'title' => $label_graph, + 'title' => $label, 'unit_name' => $unit, 'show_alerts' => $draw_alerts, 'date' => $date, diff --git a/pandora_console/operation/agentes/status_monitor.php b/pandora_console/operation/agentes/status_monitor.php index 0f7257663a..94a961c18d 100644 --- a/pandora_console/operation/agentes/status_monitor.php +++ b/pandora_console/operation/agentes/status_monitor.php @@ -1501,7 +1501,6 @@ if (!empty($result)) { 'type' => $graph_type, 'period' => SECONDS_1DAY, 'id' => $row['id_agente_modulo'], - 'label' => base64_encode($row['module_name']), 'refresh' => SECONDS_10MINUTES, ];