This chapter describes the snmp
application in OTP. The SNMP application provides the following
services:
The following configuration parameters are defined for the SNMP application. Refer to application(3) for more information about configuration parameters.
audit_trail_log = false | write_log | read_write_log
<optional>
disk_log
module is used to maintain a wrap log. If
write_log
is specified, only set requests are logged. If
read_write_log
, all requests are logged. Default is
false
.
audit_trail_log_dir = string() <optional>
audit_trail_log
specifies that logging should take
place, this parameter must be defined.
audit_trail_log_size = {MaxBytes, MaxFiles}
<optional>
disk_log
. If
audit_trail_log
specifies that logging should take place,
this parameter must be defined.
bind_to_ip_address = bool() <optional>
true
the agent binds to the agent IP adress.
If false
the agent listens on any IP address on the host
where it is running. Default is false
.
force_config_load = bool() <optional>
true
the configuration files are re-read
during startup, and the contents of the configuration database
ignored. Thus, if true
, changes to the configuration
database are lost upon reboot of the agent. Default is
false
.
no_reuse_address = bool() <optional>
true
the agent does not specify that the IP
and port address should be reusable. If false
the agent
the address is set to reusable. Default is false
.
snmp_agent_type = master | sub <optional>
master
, one master agent is
started. Otherwise, no agents are started. Default is
master
.
snmp_config_dir = string() <mandatory>
snmp_db_dir = string() <mandatory>
snmp_master_agent_mibs = [string()] <optional>
snmp_config_dir
.
snmp_multi_threaded = bool() <optional>
true
, the agent is multi-threaded, with one
thread for each get request. Default is false
.
snmp_priority = atom() <optional>
normal
.
v1 = bool() <optional>
true
.
v2 = bool() <optional>
true
.
v3 = bool() <optional>
true
.
snmp_local_db_auto_repair = false | true | true_verbose
<optional>
false
, and some errors occur, a new
datebase is created instead. If true
, erroneous transactions
(in the logfile) are ignored. If true_verbose
, erroneous
transactions (in the logfile) are igored and an error message is
written. Default is true
.
snmp_mibentry_override = bool() <optional>
false
.
snmp_trapentry_override = bool() <optional>
false
.
snmp_master_agent_verbosity = silence | info | log | debug | trace <optional>
silence
.
snmp_symbolic_store_verbosity = silence | info | log | debug | trace <optional>
silence
.
snmp_note_store_verbosity = silence | info | log | debug | trace <optional>
silence
.
snmp_net_if_verbosity = silence | info | log | debug | trace <optional>
silence
.
snmp_mibserver_verbosity = silence | info | log | debug | trace <optional>
silence
.
application(3), disk_log(3)