Merge branch 'ent-11340-no-funcionan-correctamente-informes-automatic-combined-graph-metaconsola-por-template' into 'develop'
Ent 11340 no funcionan correctamente informes automatic combined graph metaconsola por template See merge request artica/pandorafms!5959
This commit is contained in:
commit
3489b666e5
|
@ -1600,9 +1600,15 @@ function graphic_combined_module(
|
|||
|
||||
if (is_metaconsole()) {
|
||||
metaconsole_restore_db();
|
||||
$server = metaconsole_get_connection_by_id(
|
||||
isset($agent_module_id['server']) ? $agent_module_id['server'] : $source['id_server']
|
||||
);
|
||||
if (isset($agent_module_id['server'])) {
|
||||
$id_server = $agent_module_id['server'];
|
||||
} else if (isset($agent_module_id['id_server'])) {
|
||||
$id_server = $agent_module_id['id_server'];
|
||||
} else {
|
||||
$id_server = $source['id_server'];
|
||||
}
|
||||
|
||||
$server = metaconsole_get_connection_by_id($id_server);
|
||||
if (metaconsole_connect($server) != NOERR) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue