Removed token trasnsactional_threads as manager only runs 1 thread

This commit is contained in:
fbsanchez 2021-04-26 21:21:01 +02:00
parent 7dc54c48ac
commit 5bfd86d944
4 changed files with 0 additions and 16 deletions

View File

@ -433,10 +433,6 @@ snmp_threads 4
transactionalserver 0
# Number of threads for the Transactional Server (PANDORA FMS ENTERPRISE ONLY).
transactional_threads 1
# Threshold for the Transactional Server (PANDORA FMS ENTERPRISE ONLY).
transactional_threshold 2

View File

@ -499,10 +499,6 @@ snmp_threads 4
transactionalserver 0
# Number of threads for the Transactional Server (PANDORA FMS ENTERPRISE ONLY).
transactional_threads 1
# Threshold for the Transactional Server (PANDORA FMS ENTERPRISE ONLY).
transactional_threshold 2

View File

@ -427,10 +427,6 @@ snmp_threads 4
transactionalserver 0
# Number of threads for the Transactional Server (PANDORA FMS ENTERPRISE ONLY).
transactional_threads 1
# Threshold for the Transactional Server (PANDORA FMS ENTERPRISE ONLY).
transactional_threshold 2

View File

@ -260,7 +260,6 @@ sub pandora_load_config {
$pa_config->{"webserver"} = 1; # 3.0
$pa_config->{"web_timeout"} = 60; # 6.0SP5
$pa_config->{"transactionalserver"} = 0; # Default 0, introduced on 6.1
$pa_config->{"transactional_threads"} = 1; # Default 1, introduced on 6.1
$pa_config->{"transactional_threshold"} = 2; # Default 2, introduced on 6.1
$pa_config->{"transactional_pool"} = $pa_config->{"incomingdir"} . "/" . "trans"; # Default, introduced on 6.1
$pa_config->{'snmp_logfile'} = "/var/log/pandora_snmptrap.log";
@ -747,9 +746,6 @@ sub pandora_load_config {
elsif ($parametro =~ m/^transactionalserver\s+([0-9]*)/i) {
$pa_config->{'transactionalserver'}= clean_blank($1);
}
elsif ($parametro =~ m/^transactional_threads\s+([0-9]*)/i) {
$pa_config->{'transactional_threads'}= clean_blank($1);
}
elsif ($parametro =~ m/^transactional_threshold\s+([0-9]*\.{0,1}[0-9]*)/i) {
$pa_config->{'transactional_threshold'}= clean_blank($1);
}