Avoid MC process data in dataserver

This commit is contained in:
fbsanchez 2021-09-27 10:07:23 +02:00
parent b09febeee0
commit f7ec31cc72

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)) {