Cleanup old SEL GRID sessions
This commit is contained in:
parent
91d1832f8f
commit
19f7280c86
|
@ -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
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue