The snmp application should be used to start an snmp agent then the API functions below can be used to load/unload the OTP-MIB into/from the agent. The instrumentation of the OTP-MIB uses mnesia, hence mnesia must be started prior to loading the OTP-MIB.
load(Agent) -> ok | {error, Reason}
Agent - pid() | atom()Reason - term()Load the OTP-MIB.
unload(Agent) -> ok | {error, Reason}
Agent - pid() | atom() Reason - term()Unload the OTP-MIB.
snmp(3)