Add SNMPv3 support to the Enterprise SNMP Server.
Former-commit-id: 8e0edc671caa7c864fa92c3770fca93bb575958d
This commit is contained in:
parent
98c0bbec9a
commit
33500e635c
|
@ -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