From 7131685be7f5ccc4a5676000062b906c9911ccc4 Mon Sep 17 00:00:00 2001 From: alejandro Date: Thu, 25 Apr 2024 14:18:41 +0200 Subject: [PATCH] update execution in proxmox plugin --- pandora_console/extras/mr/69.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pandora_console/extras/mr/69.sql b/pandora_console/extras/mr/69.sql index aab53b96d7..f7f9e6f8e1 100644 --- a/pandora_console/extras/mr/69.sql +++ b/pandora_console/extras/mr/69.sql @@ -7755,6 +7755,8 @@ ALTER TABLE `tdeployment_hosts` DROP COLUMN `arch`; UPDATE `trecon_task` SET `field4` = 41121 WHERE `type` = 9; --Update execution in proxmox discovery plugin -UPDATE `tdiscovery_apps_executions` SET `execution` = ''_exec1_' --conf '_tempfileProxmox_'' WHERE `short_name` = 'pandorafms.proxmox'; +SET @short_name = 'pandorafms.proxmox'; +SELECT @id_app := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name; +UPDATE `tdiscovery_apps_executions` SET `execution` = ''_exec1_' --conf '_tempfileProxmox_'' WHERE `id_app` = @id_app; COMMIT; \ No newline at end of file