diff --git a/pandora_server/conf/pandora_server.conf.new b/pandora_server/conf/pandora_server.conf.new index 557b9f3a7d..bc3980ff5d 100644 --- a/pandora_server/conf/pandora_server.conf.new +++ b/pandora_server/conf/pandora_server.conf.new @@ -626,6 +626,9 @@ wuxserver 0 # Maximum timeout to connect to a target web site, also for communications with a Selenium Grid server. #wux_webagent_timeout 15 +# Force closing previous sessions on remote wux_host, only for Selenium Grid server 3. +#clean_wux_sessions 1 + # Enable (1) or disable (0) the Pandora FMS Syslog Server (PANDORA FMS ENTERPRISE ONLY). syslogserver 1 diff --git a/pandora_server/lib/PandoraFMS/Config.pm b/pandora_server/lib/PandoraFMS/Config.pm index f1cc81826a..67d2ffe999 100644 --- a/pandora_server/lib/PandoraFMS/Config.pm +++ b/pandora_server/lib/PandoraFMS/Config.pm @@ -522,6 +522,7 @@ sub pandora_load_config { $pa_config->{"wux_port"} = 4444; # 7.0 $pa_config->{"wux_browser"} = "*firefox"; # 7.0 $pa_config->{"wux_webagent_timeout"} = 15; # 7.0 + $pa_config->{"clean_wux_sessions"} = 1; # 7.0.746 (only selenium 3) # Syslog Server $pa_config->{"syslogserver"} = 1; # 7.0.716 @@ -1205,6 +1206,9 @@ sub pandora_load_config { elsif ($parametro =~ m/^wux_webagent_timeout\s+([0-9]*)/i) { $pa_config->{'wux_webagent_timeout'}= clean_blank($1); } + elsif ($parametro =~ m/^clean_wux_sessions\s+([0-9]*)/i) { + $pa_config->{'clean_wux_sessions'}= clean_blank($1); + } elsif ($parametro =~ m/^syslogserver\s+([0-1])/i) { $pa_config->{'syslogserver'}= clean_blank($1); }