This module implements an SNMP adaptation to basic Mesh. The
MIB implemented by this adaptation is OTP-MESH-MIB, which is
located in the directory mibs
in the distribution.
The Mesh SNMP adaptation is started if the environment variable
snmp_adapted
is set to true
when the Mesh application
is started.
The Mesh SNMP adaptation requires that the EVA SNMP adaptation is started (and still running). The events and alarms generated by Mesh is converted to traps using the API provided by the EVA SNMP adaptation. The traps are normally sent to community "standard trap"; the user has the possibility to change this.
register_alarms(Community) -> void()
Community = string()
This function registers all alarms, used by the Mesh application,
in the EVA SNMP adaptation. This means that each
alarm generated will cause a trap to be sent to the
Community
.
If this function is not called by the user, the traps are automatically sent to community "standard trap".
register_events(Community) -> void()
Community = string()
This function registers all events, used by the Mesh application,
in the EVA SNMP adaptation. This means that each
event generated will cause a trap to be sent to the
Community
.
If this function is not called by the user, the traps are automatically sent to community "standard trap".
mesh(3), mesh_lib(3), eva_snmp_adatation(3), snmp(3)