API Reference snmp v5.9.1
Modules
The module snmp
contains interface functions to the SNMP toolkit.
The module snmp_community_mib
implements the instrumentation functions for the SNMP-COMMUNITY-MIB, and functions for configuring the database.
The module snmp_framework_mib
implements instrumentation functions for the SNMP-FRAMEWORK-MIB, and functions for initializing and configuring the database.
The module snmp_generic
contains generic functions for implementing tables (and variables) using the SNMP built-in database or Mnesia. These default functions are used if no instrumentation function is provided for a managed object in a MIB. Sometimes, it might be necessary to customize the behaviour of the default functions. For example, in some situations a trap should be sent if a row is deleted or modified, or some hardware is to be informed, when information is changed.
The module snmp_index
implements an Abstract Data Type (ADT) for an SNMP index structure for SNMP tables. It is implemented as an ets table of the ordered_set data-type, which means that all operations are O(log n). In the table, the key is an ASN.1 OBJECT IDENTIFIER.
The module snmp_notification_mib
implements the instrumentation functions for the SNMP-NOTIFICATION-MIB, and functions for configuring the database.
RFC1157, RFC1905 and/or RFC2272 should be studied carefully before using this module, snmp_pdus
.
The module snmp_standard_mib
implements the instrumentation functions for the STANDARD-MIB and SNMPv2-MIB, and functions for configuring the database.
The module snmp_target_mib
implements the instrumentation functions for the SNMP-TARGET-MIB, and functions for configuring the database.
The module snmp_user_based_sm_mib
implements the instrumentation functions for the SNMP-USER-BASED-SM-MIB, and functions for configuring the database.
The module snmp_view_based_acm_mib
implements the instrumentation functions for the SNMP-VIEW-BASED-ACM-MIB, and functions for configuring the database.
The module snmpa
contains interface functions to the SNMP agent.
The module snmpa_conf
contains various utility functions to used for manipulating (write/append/read) the config files of the SNMP agent.
The module snmpa_error_io
implements the snmp_error_report
behaviour (see snmpa_error_report) containing two callback functions which are called in order to report SNMP errors.
The module snmpa_error_logger
implements the snmpa_error_report
behaviour (see snmpa_error_report) containing two callback functions which are called in order to report SNMP errors.
The module snmpa_local_db
contains functions for implementing tables (and variables) using the SNMP built-in database. The database exists in two instances, one volatile and one persistent. The volatile database is implemented with ets. The persistent database is implemented with dets.
The module snmpa_mpd
implements the version independent Message Processing and Dispatch functionality in SNMP for the agent. It is supposed to be used from a Network Interface process (Definition of Agent Net if).
This is the top supervisor for the agent part of the SNMP application. There is always one supervisor at each node with an SNMP agent (master agent or sub-agent).
The module snmpc
contains interface functions to the SNMP toolkit MIB compiler.
The module snmpm
contains interface functions to the SNMP manager.
The module snmpm_conf
contains various utility functions to used for manipulating (write/append/read) the config files of the SNMP manager.
The module snmpm_mpd
implements the version independent Message Processing and Dispatch functionality in SNMP for the manager. It is supposed to be used from a Network Interface process (Definition of Manager Net if).