Some improvements

This commit is contained in:
fbsanchez 2021-09-08 19:48:20 +02:00
parent ce3dce926a
commit 6f50aed48d
2 changed files with 1 additions and 9 deletions

View File

@ -482,10 +482,6 @@ eventserver 0
correlationserver 0
# Number of threads for Correlation Server (PANDORA FMS ENTERPRISE ONLY).
correlation_threads 1
# Time in seconds to re-evaluate correlation alerts pool (PANDORA FMS ENTERPRISE ONLY).
correlation_threshold 30

View File

@ -303,8 +303,7 @@ sub pandora_load_config {
$pa_config->{"google_maps_description"} = 0;
$pa_config->{'openstreetmaps_description'} = 0;
$pa_config->{"eventserver"} = 1; # 4.0
$pa_config->{"correlationserver"} = 1; # 757
$pa_config->{"correlation_threads"} = 1; # 757
$pa_config->{"correlationserver"} = 0; # 757
$pa_config->{"correlation_threshold"} = 30; # 757
$pa_config->{"event_window"} = 3600; # 4.0
$pa_config->{"log_window"} = 3600; # 7.741
@ -793,9 +792,6 @@ sub pandora_load_config {
elsif ($parametro =~ m/^correlationserver\s+([0-9]*)/i) {
$pa_config->{'correlationserver'}= clean_blank($1);
}
elsif ($parametro =~ m/^correlation_threads\s+([0-9]*)/i) {
$pa_config->{'correlation_threads'}= clean_blank($1);
}
elsif ($parametro =~ m/^correlation_threshold\s+([0-9]*)/i) {
$pa_config->{'correlation_threshold'}= clean_blank($1);
}