snmpa_discovery_handler
snmpa_discovery_handler
Module
snmpa_discovery_handler
Module summary
Behaviour module for the SNMP agent discovery handler.
Description
This module defines the behaviour of the agent discovery handler. A snmpa_discovery_handler
compliant module must export the following functions:
The semantics of them and their exact signatures are explained below.
Exports
stage1_finish(TargetName, ManagerEngineID, ExtraInfo) -> ignore | {ok, usm_entry() | [usm_entry()]} | {ok, usm_entry() | [usm_entry()], NewExtraInfo}
Types:
TargetName = string() ManagerEngineID = string() ExtraInfo = term() usm_entry() = tuple() compatible with usm.conf NewExtraInfo = term()
This function is called at the end of stage 1 of the