Merge branch 'ent-3248-6352-anadir-compatibilidad-snmp-v3-a-servidor-snmp-enterprise' into 'develop'
Add SNMPv3 support to the Enterprise SNMP Server. See merge request artica/pandorafms!2122 Former-commit-id: 49fd3b38b38d95f6b457dbf83d46f6ba52e94e1e
This commit is contained in:
commit
06e87d2b36
|
@ -292,6 +292,11 @@ braa /usr/bin/braa
|
|||
|
||||
braa_retries 3
|
||||
|
||||
# Location of the pandorafsnmp binary needed by the Enterprise SNMP Server.
|
||||
# /usr/bin/pandorafsnmp by default (PANDORA FMS ENTERPRISE ONLY).
|
||||
|
||||
fsnmp /usr/bin/pandorafsnmp
|
||||
|
||||
# Default group id for new agents created with Pandora FMS Data Server
|
||||
# If this token is enabled and Agent is setup with a fixed group, server settings will override agent settings
|
||||
# If this token is disabled and group is not provided in the agent, or provided group doesn't exist, agent data
|
||||
|
|
|
@ -490,6 +490,8 @@ sub pandora_load_config {
|
|||
|
||||
$pa_config->{'snmp_extlog'} = ""; # 7.0 726
|
||||
|
||||
$pa_config->{"fsnmp"} = "/usr/bin/pandorafsnmp"; # 7.0 732
|
||||
|
||||
# Check for UID0
|
||||
if ($pa_config->{"quiet"} != 0){
|
||||
if ($> == 0){
|
||||
|
@ -1123,6 +1125,9 @@ sub pandora_load_config {
|
|||
elsif ($parametro =~ m/^snmp_extlog\s(.*)/i) {
|
||||
$pa_config->{'snmp_extlog'} = clean_blank($1);
|
||||
}
|
||||
elsif ($parametro =~ m/^fsnmp\s(.*)/i) {
|
||||
$pa_config->{'fsnmp'}= clean_blank($1);
|
||||
}
|
||||
} # end of loop for parameter #
|
||||
|
||||
# Set to RDBMS' standard port
|
||||
|
|
Loading…
Reference in New Issue