The purpose of this module is to simplify SNMP configuration for the
test case writer. Many test cases can use default values for common
operations and then no SNMP configuration files need to be supplied.
When it is necessary to change particular configuration parameters, a
subset of the relevant SNMP configuration files can be passed to
Configurable SNMP Manager and Agent Parameters:
Manager configuration:
Optional. Default is
Optional.
Optional. SNMPv3 only.
Optional. Default is
Optional. Default is
Optional. Default is
Agent configuration:
Optional. Default is
Optional. Default is
Optional. Default is
Optional. Default is
Optional. Default is
Optional. Default is
Optional. Default is
Optional. Default is
Optional. Default is
Optional. Default is
Optional. Default is
The following parameters represents the SNMP configuration files
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Optional.
Parameter
suite() -> [{require, snmp_mgr_agent, snmp}].
or
ct:require(snmp_mgr_agent, snmp).
Notice that USM users are needed for SNMPv3 configuration and are not to be confused with users.
SNMP traps, inform, and report messages are handled by the user
callback module. For details, see the
It is recommended to use the
Oid = ?erlNodeEntry ++ [?erlNodeName, 1]
Furthermore, values can be set for
{snmp_app, [{manager, [snmp_app_manager_params()]}, {agent, [snmp_app_agent_params()]}]}.
A name for the data must be allocated in the suite using
These data types are described in the documentation for
the
Issues a synchronous SNMP
Issues a synchronous SNMP
Loads the MIBs into agent
Explicitly instructs the manager to handle this agent. Corresponds
to making an entry in
This function tries to register the specified managed agents, without checking if any of them exist. To change a registered managed agent, the agent must first be unregistered.
Registers the manager entity (=user) responsible for specific
agent(s). Corresponds to making an entry in
This function tries to register the specified users, without checking if any of them exist. To change a registered user, the user must first be unregistered.
Explicitly instructs the manager to handle this USM user.
Corresponds to making an entry in
This function tries to register the specified users, without checking if any of them exist. To change a registered user, the user must first be unregistered.
Returns a list of all successful
Issues a synchronous SNMP
Equivalent to
Starts an SNMP manager and/or agent. In the manager case,
registrations of users and agents, as specified by the configuration
The agent started is called
With
Stops the SNMP manager and/or agent, and removes all files created.
Unloads the MIBs from agent
Unregisters all managed agents.
Unregisters the specified managed agents.
Unregisters all users.
Unregisters the specified users.
Unregisters all USM users.
Unregisters the specified USM users.