Merge branch 'ent-8004-command-center-las-politicas-una-vez-aplicadas-no-se-marcan-en-verde-en-la-metaconsola' into 'develop'

Avoid MC process data in dataserver

See merge request artica/pandorafms!4427
This commit is contained in:
Daniel Rodriguez 2021-09-29 13:27:28 +00:00
commit ee8ae5cf76
1 changed files with 3 additions and 0 deletions

View File

@ -434,6 +434,9 @@ sub process_xml_data ($$$$$) {
}
# Return if metaconsole, no further analysis.
return if (PandoraFMS::Tools::is_metaconsole($pa_config));
# Get the data of the agent, if fail return
my $agent = get_db_single_row ($dbh, 'SELECT * FROM tagente WHERE id_agente = ?', $agent_id);
if (!defined ($agent)) {