Some improvements
This commit is contained in:
parent
ce3dce926a
commit
6f50aed48d
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue