Added support for sending server configuration files via Tentacle.
This commit is contained in:
parent
9e70e398fb
commit
03a444ad08
|
@ -509,5 +509,14 @@ console_pass pandora
|
|||
# Maximum executing time of an alert (in seconds)
|
||||
global_alert_timeout 15
|
||||
|
||||
# If set to 1 allows PandoraFMS Server to be configured via the web console (Only Enterprise version)
|
||||
# If set to 1 allows PandoraFMS Server to be configured via the web console (PANDORA FMS ENTERPRISE ONLY).
|
||||
remote_config 0
|
||||
|
||||
# Remote address to send the configuration file (PANDORA FMS ENTERPRISE ONLY).
|
||||
remote_config_address localhost
|
||||
|
||||
# Remote port to send the configuration file (PANDORA FMS ENTERPRISE ONLY).
|
||||
#remote_config_port 41121
|
||||
|
||||
# Extra options for the Tentacle client to send the configuration file (PANDORA FMS ENTERPRISE ONLY).
|
||||
#remote_config_opts
|
||||
|
|
|
@ -389,6 +389,14 @@ sub pandora_load_config {
|
|||
# Server Remote Config
|
||||
$pa_config->{"remote_config"}= 0; # 6.0
|
||||
|
||||
# Remote config server address
|
||||
$pa_config->{"remote_config_address"} = 'localhost'; # 6.0
|
||||
|
||||
# Remote config server port
|
||||
$pa_config->{"remote_config_port"} = 41121; # 6.0
|
||||
|
||||
# Remote config server options
|
||||
$pa_config->{"remote_config_opts"} = ''; # 6.0
|
||||
|
||||
# Check for UID0
|
||||
if ($pa_config->{"quiet"} != 0){
|
||||
|
|
Loading…
Reference in New Issue