[SNMP4J] Where can I find the TestMasterAgent (SampleAgent.cfg and SampleAgent.bc) config files?

Fokusas fokusas at gmail.com
Mon Nov 23 15:44:54 CET 2009


I am trying to start TestMasterAgent
http://www.snmp4j.org/agentX/doc/org/snmp4j/agent/agentx/master/test/TestMasterAgent.html,
but it is'nt work.

*configFile = SampleAgent.cfg
bootCounterFile = SampleAgent.bc

agent =
        new AgentXMasterAgent(new OctetString(MPv3.createLocalEngineID()),
                              messageDispatcher,
                              null,
                              moServers,
                              ThreadPool.create("SampleAgent", 3),
                              null, // by config file: configurationFactory,
                              new DefaultMOPersistenceProvider(moServers,
        configFile),
                              new EngineBootsCounterFile(bootCounterFile))*

What should i put in *SampleAgent.cfg and in **SampleAgent.bc*

Whaiting for any help

fokusas



More information about the SNMP4J mailing list