[SNMP4J] How to completely exit from agent?

Jesse Woo jesse.woo at cerillion.com
Mon Jan 16 15:27:48 CET 2012


Hi Guys,

I have created a SNMP Agent based on org.snmp4j.agent.example. SampleAgent.java.

This agent is running as part of my system, and I want to completely exit the agent before I can shut the whole system down.

I tried shutdown() method from AgentConfigManager.java, and it did close the session but seems it left the thread in memory.

How can I exit the agent completely?

Much appreciated for your help.

Regards,
Jesse



More information about the SNMP4J mailing list