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