Fixed in visual map
This commit is contained in:
parent
039964771b
commit
718a2dbaff
|
@ -2080,7 +2080,7 @@ function events_page_details ($event, $server = "") {
|
|||
}
|
||||
else {
|
||||
$module_group = db_get_value('name', 'tmodule_group', 'id_mg', $id_module_group);
|
||||
$data[1] = '<a href="'.$serverstring . 'index.php?sec=estado&sec2=operation/agentes/status_monitor&status=-1&modulegroup=' . $id_module_group . $hashstring.'">';
|
||||
$data[1] = '<a href="'.$serverstring . 'index.php?sec=view&sec2=operation/agentes/status_monitor&status=-1&modulegroup=' . $id_module_group . $hashstring.'">';
|
||||
$data[1] .= $module_group;
|
||||
$data[1] .= '</a>';
|
||||
}
|
||||
|
|
|
@ -7245,19 +7245,19 @@ function reporting_get_stats_modules_status($data, $graph_width = 250, $graph_he
|
|||
if ($links === false) {
|
||||
$urls = array();
|
||||
$urls['monitor_critical'] = "index.php?" .
|
||||
"sec=estado&sec2=operation/agentes/status_monitor&" .
|
||||
"sec=view&sec2=operation/agentes/status_monitor&" .
|
||||
"refr=60&status=" . AGENT_MODULE_STATUS_CRITICAL_BAD . "&pure=" . $config['pure'];
|
||||
$urls['monitor_warning'] = "index.php?" .
|
||||
"sec=estado&sec2=operation/agentes/status_monitor&" .
|
||||
"sec=view&sec2=operation/agentes/status_monitor&" .
|
||||
"refr=60&status=" . AGENT_MODULE_STATUS_WARNING . "&pure=" . $config['pure'];
|
||||
$urls['monitor_ok'] = "index.php?" .
|
||||
"sec=estado&sec2=operation/agentes/status_monitor&" .
|
||||
"sec=view&sec2=operation/agentes/status_monitor&" .
|
||||
"refr=60&status=" . AGENT_MODULE_STATUS_NORMAL . "&pure=" . $config['pure'];
|
||||
$urls['monitor_unknown'] = "index.php?" .
|
||||
"sec=estado&sec2=operation/agentes/status_monitor&" .
|
||||
"sec=view&sec2=operation/agentes/status_monitor&" .
|
||||
"refr=60&status=" . AGENT_MODULE_STATUS_UNKNOWN . "&pure=" . $config['pure'];
|
||||
$urls['monitor_not_init'] = "index.php?" .
|
||||
"sec=estado&sec2=operation/agentes/status_monitor&" .
|
||||
"sec=view&sec2=operation/agentes/status_monitor&" .
|
||||
"refr=60&status=" . AGENT_MODULE_STATUS_NOT_INIT . "&pure=" . $config['pure'];
|
||||
}
|
||||
else {
|
||||
|
@ -7357,7 +7357,7 @@ function reporting_get_stats_agents_monitors($data) {
|
|||
else {
|
||||
$urls = array();
|
||||
$urls['total_agents'] = "index.php?sec=estado&sec2=operation/agentes/estado_agente&refr=60";
|
||||
$urls['monitor_checks'] = "index.php?sec=estado&sec2=operation/agentes/status_monitor&refr=60&status=-1";
|
||||
$urls['monitor_checks'] = "index.php?sec=view&sec2=operation/agentes/status_monitor&refr=60&status=-1";
|
||||
}
|
||||
|
||||
// Agents and modules table
|
||||
|
|
|
@ -433,7 +433,7 @@ function visual_map_print_item($mode = "read", $layoutData,
|
|||
// Link to an module
|
||||
if (empty($layoutData['id_metaconsole'])) {
|
||||
$url = $config['homeurl'] .
|
||||
'index.php?sec=estado&sec2=operation/agentes/status_monitor&id_module=' . $layoutData['id_agente_modulo'];
|
||||
'index.php?sec=view&sec2=operation/agentes/status_monitor&id_module=' . $layoutData['id_agente_modulo'];
|
||||
}
|
||||
else {
|
||||
$url = ui_meta_get_url_console_child(
|
||||
|
@ -581,7 +581,7 @@ function visual_map_print_item($mode = "read", $layoutData,
|
|||
// Link to an module
|
||||
if (empty($layoutData['id_metaconsole'])) {
|
||||
$url = $config['homeurl'] .
|
||||
'index.php?sec=estado&sec2=operation/agentes/status_monitor&id_module=' . $layoutData['id_agente_modulo'];
|
||||
'index.php?sec=view&sec2=operation/agentes/status_monitor&id_module=' . $layoutData['id_agente_modulo'];
|
||||
}
|
||||
else {
|
||||
$url = ui_meta_get_url_console_child(
|
||||
|
@ -628,11 +628,11 @@ function visual_map_print_item($mode = "read", $layoutData,
|
|||
|
||||
$url =
|
||||
$server["server_url"] .
|
||||
'/index.php?sec=estado&sec2=operation/agentes/status_monitor&id_module=' . $layoutData['id_agente_modulo'];
|
||||
'/index.php?sec=view&sec2=operation/agentes/status_monitor&id_module=' . $layoutData['id_agente_modulo'];
|
||||
}
|
||||
else {
|
||||
$url =
|
||||
$config['homeurl'].'/index.php?sec=estado&sec2=operation/agentes/status_monitor&id_module=' . $layoutData['id_agente_modulo'];
|
||||
$config['homeurl'].'/index.php?sec=view&sec2=operation/agentes/status_monitor&id_module=' . $layoutData['id_agente_modulo'];
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
@ -696,7 +696,7 @@ function visual_map_print_item($mode = "read", $layoutData,
|
|||
else {
|
||||
if (empty($layoutData['id_metaconsole'])) {
|
||||
$url = $config['homeurl'] .
|
||||
'/index.php?sec=estado&sec2=operation/agentes/status_monitor&id_module=' . $layoutData['id_agente_modulo'];
|
||||
'/index.php?sec=view&sec2=operation/agentes/status_monitor&id_module=' . $layoutData['id_agente_modulo'];
|
||||
}
|
||||
else {
|
||||
$url = ui_meta_get_url_console_child(
|
||||
|
|
Loading…
Reference in New Issue