mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Correlated alerts are not being linked to modules
This commit is contained in:
parent
701c384c54
commit
bf0064d486
@ -1007,7 +1007,7 @@ sub pandora_execute_alert ($$$$$$$$$;$$) {
|
|||||||
$text = "Correlated alert $text";
|
$text = "Correlated alert $text";
|
||||||
pandora_event (
|
pandora_event (
|
||||||
$pa_config,
|
$pa_config,
|
||||||
"$text (" . safe_output($alert->{'name'}) . ") " . (defined ($module) ? 'assigned to ('. safe_output($module->{'nombre'}) . ")" : ""),
|
"$text (" . safe_output($alert->{'name'}) . ") ",
|
||||||
(defined ($agent) ? $agent->{'id_grupo'} : 0),
|
(defined ($agent) ? $agent->{'id_grupo'} : 0),
|
||||||
# id agent.
|
# id agent.
|
||||||
0,
|
0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user