From 91df54596ddf88ea3c23ff25601c64462408bd06 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Mon, 16 Jan 2023 14:28:00 +0100 Subject: [PATCH] #10136 fixed update agent from node for metaconsole --- pandora_server/util/pandora_manage.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index fdbf42f632..95cacec923 100755 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -3504,6 +3504,8 @@ sub cli_agent_update() { } else { pandora_update_table_from_hash ($conf, $update, 'id_agente', safe_input($id_agent), 'tagente', $dbh); } + + enterprise_hook('update_agent_cache', [$conf, $dbh, $id_agent]) if ($conf->{'node_metaconsole'} == 1); } ##############################################################################