mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Avoid MC process data in dataserver
This commit is contained in:
parent
b09febeee0
commit
f7ec31cc72
@ -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
|
# Get the data of the agent, if fail return
|
||||||
my $agent = get_db_single_row ($dbh, 'SELECT * FROM tagente WHERE id_agente = ?', $agent_id);
|
my $agent = get_db_single_row ($dbh, 'SELECT * FROM tagente WHERE id_agente = ?', $agent_id);
|
||||||
if (!defined ($agent)) {
|
if (!defined ($agent)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user