Merge branch 'ent-5929-revision-general-logstash' into 'develop'
Deleted logstash references Closes pandora_enterprise#5929 See merge request artica/pandorafms!3729
This commit is contained in:
commit
9f22c061f5
|
@ -665,7 +665,6 @@ class ConsoleSupervisor
|
|||
case 'NOTIF.PANDORADB.HISTORICAL':
|
||||
case 'NOTIF.HISTORYDB.MR':
|
||||
case 'NOTIF.EXT.ELASTICSEARCH':
|
||||
case 'NOTIF.EXT.LOGSTASH':
|
||||
case 'NOTIF.METACONSOLE.DB_CONNECTION':
|
||||
case 'NOTIF.DOWNTIME':
|
||||
case 'NOTIF.UPDATEMANAGER.REGISTRATION':
|
||||
|
@ -1803,7 +1802,6 @@ class ConsoleSupervisor
|
|||
{
|
||||
global $config;
|
||||
|
||||
// Cannot check logstash, configuration is only available from server.
|
||||
// Cannot check selenium, configuration is only available from server.
|
||||
if (isset($config['log_collector'])
|
||||
&& $config['log_collector'] == 1
|
||||
|
|
|
@ -671,10 +671,6 @@ syslog_max 65535
|
|||
# Address
|
||||
# sync_address
|
||||
|
||||
# Target LogStash server, to allow Dataserver and SyslogServer store log information in ElasticSearch
|
||||
#logstash_host ip
|
||||
#logstash_port 10514
|
||||
|
||||
# Pandora FMS Database HA Tool execution interval in seconds (PANDORA FMS ENTERPRISE ONLY).
|
||||
ha_interval 30
|
||||
|
||||
|
|
|
@ -511,10 +511,6 @@ sub pandora_load_config {
|
|||
$pa_config->{"warmup_unknown_interval"} = 300; # 6.1
|
||||
$pa_config->{"warmup_unknown_on"} = 1; # 6.1
|
||||
|
||||
# Logstash
|
||||
$pa_config->{"logstash_host"} = '';
|
||||
$pa_config->{"logstash_port"} = 0;
|
||||
|
||||
$pa_config->{"wuxserver"} = 1; # 7.0
|
||||
$pa_config->{"wux_host"} = undef; # 7.0
|
||||
$pa_config->{"wux_port"} = 4444; # 7.0
|
||||
|
@ -1190,13 +1186,6 @@ sub pandora_load_config {
|
|||
elsif ($parametro =~ m/^mssql_driver\s+(.*)/i) {
|
||||
$pa_config->{'mssql_driver'}= clean_blank($1);
|
||||
}
|
||||
|
||||
elsif ($parametro =~ m/^logstash_host\s+(.*)/i) {
|
||||
$pa_config->{'logstash_host'}= clean_blank($1);
|
||||
}
|
||||
elsif ($parametro =~ m/^logstash_port\s+([0-9]*)/i) {
|
||||
$pa_config->{'logstash_port'}= clean_blank($1);
|
||||
}
|
||||
elsif ($parametro =~ m/^wuxserver\s+([0-1]*)/i) {
|
||||
$pa_config->{"wuxserver"} = clean_blank($1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue