From f7ec31cc723d5fca155135e8cfed296148b88638 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Mon, 27 Sep 2021 10:07:23 +0200 Subject: [PATCH] Avoid MC process data in dataserver --- pandora_server/lib/PandoraFMS/DataServer.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandora_server/lib/PandoraFMS/DataServer.pm b/pandora_server/lib/PandoraFMS/DataServer.pm index 9445b518ee..f3b6fd63aa 100644 --- a/pandora_server/lib/PandoraFMS/DataServer.pm +++ b/pandora_server/lib/PandoraFMS/DataServer.pm @@ -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)) {