From 572c6d673426d38f3cb1e0e7fce46898313c54b8 Mon Sep 17 00:00:00 2001 From: Calvo Date: Fri, 26 May 2023 14:29:36 +0200 Subject: [PATCH] Fix alertserver queue for action exec --- pandora_server/lib/PandoraFMS/Core.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index ea9fb091b1..02c02f612f 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -850,7 +850,7 @@ sub pandora_process_alert ($$$$$$$$;$$) { last_fired = ?, internal_counter = ? ' . $new_interval . ' WHERE id = ?', $alert->{'times_fired'}, $utimestamp, $alert->{'internal_counter'}, $id); - if ($pa_config->{'alertserver'} == 1) { + if ($pa_config->{'alertserver'} == 1 || $pa_config->{'alertserver_queue'} == 1) { pandora_queue_alert($pa_config, $dbh, [$data, $agent, $module, $alert, 1, $timestamp, 0, $extra_macros, $is_correlated_alert]); } else {