Download Simple Network Management Protocol (SNMP)

Transcript
snmp
SNMP Reference Manual
A simple interactive SNMP agent configuration tool. Simple configuration files can be
generated, but more complex configurations still have to be edited manually.
The tool is a textual based tool that asks some questions and generates sys.config and
*.conf files.
Note that if the agent shall support version 3, then the crypto app must be started
before running this function (password generation).
current address() -> fvalue, fIP, UDPgg | false
Types:
IP = [int(), int(), int(), int()]
UDP = int()
Retrieves the IP address of the management station sending the request. It must be
called from the same process that is handling the request (normally an instrumentation
function).
Returns false if no request is currently handled.
current community() -> fvalue, Communityg | false
Types:
Community = string()
Retrieves the community referred to in the current request. It must be called from the
same process that is handling the request (normally an instrumentation function).
Returns false if no request is currently handled.
NOTE: This function should only be used if the agent speaks SNMPv1 or SNMPv2c
only. Otherwise, use current context/0.
current context() -> fvalue, ContextNameg | false
Types:
ContextName = string()
Retrieves the context referred to in the current request. It must be called from the same
process that is handling the request (normally an instrumentation function).
Returns false if no request is currently handled.
current net if data() -> fvalue, NetIfDatag | false
Types:
NetIfData = term()
Retrieves the Net if data for the current pdu being handled. This data is defined in the
Net if process, and can be used to forward information about the packet to the
instrumentation functions. With the default Net if implementation, it is nil. It must be
called from the same process that handles the request (normally an instrumentation
function).
Returns false if no request is currently handled.
current request id() -> fvalue, RequestIdg | false
Types:
100
Simple Network Management Protocol (SNMP)