I have a list of OIDs that I create dynamically depending on a list of running tasks.
My snmp Agent has to manage this dynamic tasks. Each task has a dynamic OID built as follow : <PREFIX_TASK_OID>.<TASK_NUM>.0
When a task is created, my agent associates a dynamic OID to the task, then it registers it in the MIB.
Therefore a manager can call GET/SET requests to get some information or to stop the task.
When the task is stopped or finished, the associated OID should be unregistered.
The question is : How can I unregister this OID from the MIB. I do not found any instruction in snmp4j to do that ?
An example would be appreciated.
Thanks for your support.