mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Merge branch 'ent-11362-solo-las-recuperaciones-de-alertas-se-encolan-con-alertserver_queue' into 'develop'
Fix alertserver queue for action exec See merge request artica/pandorafms!5992
This commit is contained in:
commit
1fa9c7cb11
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user