Merge branch 'ent-5787-change-default-web-engine-to-curl' into 'develop'

Changed default web engine from LWP to CURL

See merge request artica/pandorafms!3259
This commit is contained in:
Daniel Rodriguez 2020-06-25 16:34:09 +02:00
commit 8a2b0becd8
5 changed files with 9 additions and 9 deletions

View File

@ -384,8 +384,8 @@ webserver 1
web_threads 1
# Uncomment to perform web checks with CURL instead of LWP.
#web_engine curl
# Uncomment to perform web checks with LWP instead of CURL.
#web_engine lwp
# Enable (1) or disable (0) Pandora FMS Inventory Server (PANDORA FMS ENTERPRISE ONLY).

View File

@ -376,8 +376,8 @@ webserver 1
web_threads 1
# Uncomment to perform web checks with CURL instead of LWP.
#web_engine curl
# Uncomment to perform web checks with LWP instead of CURL.
#web_engine lwp
# Enable (1) or disable (0) Pandora FMS Inventory Server (PANDORA FMS ENTERPRISE ONLY).

View File

@ -433,8 +433,8 @@ web_threads 1
web_timeout 60
# Uncomment to perform web checks with CURL instead of LWP.
#web_engine curl
# Uncomment to perform web checks with LWP instead of CURL.
#web_engine lwp
# Enable (1) or disable (0) Pandora FMS Inventory Server (PANDORA FMS ENTERPRISE ONLY).

View File

@ -374,8 +374,8 @@ webserver 1
web_threads 1
# Uncomment to perform web checks with CURL instead of LWP.
#web_engine curl
# Uncomment to perform web checks with LWP instead of CURL.
#web_engine lwp
# Enable (1) or disable (0) Pandora FMS Inventory Server (PANDORA FMS ENTERPRISE ONLY).

View File

@ -297,7 +297,7 @@ sub pandora_load_config {
$pa_config->{"inventory_threads"} = 2; # 2.1
$pa_config->{"export_threads"} = 1; # 3.0
$pa_config->{"web_threads"} = 1; # 3.0
$pa_config->{"web_engine"} = 'lwp'; # 5.1
$pa_config->{"web_engine"} = 'curl'; # 5.1
$pa_config->{"activate_gis"} = 0; # 3.1
$pa_config->{"location_error"} = 50; # 3.1
$pa_config->{"recon_reverse_geolocation_file"} = ''; # 3.1