Hi, The config file is written when the agent is terminated with signal SIG-TERM. On windows, it is difficult to send the signal from the console. Here you can use the SNMP4J-CONFIG-MIB to write the file before you stop the agent.
Best regards, Frank Himanshu Jain wrote: > Hello, > I am running the TestAgent successfully, but not getting the way -- How to > run the Agent with the previous Confriguration file. > I used the constructer (protected BaseAgent(String configURI)) of the > BaseAgent, but still unable to find the solution. > please give some hint, how to store and restore the config file. > > thanks > > ------------------------- > Thanks : > Himanshu Jain > > _______________________________________________ > SNMP4J mailing list > [email protected] > http://lists.agentpp.org/mailman/listinfo/snmp4j -- AGENT++ http://www.agentpp.com http://www.snmp4j.com http://www.mibexplorer.com http://www.mibdesigner.com _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j
