[SNMP4J] How can i use snmp4j-agent to implement my snmp agent?

Frank Fock fock at agentpp.com
Tue May 2 23:51:05 CEST 2006


Hi,

Extending BaseAgent is probably the easiest approach,
but not required. You can then overwrite methods
of the BaseAgent class to register your own MIBs
as TestAgent does it as an example.

Best regards,
Frank

basten.li wrote:
> Hey All:
>     From the SNMP4J-Agent source code projects, i found the TestAgent.java, and knowed it's extends BaseAgent.java. i think maybe TestAgent is a implement of snmp agent, but if i wanna write a myself snmp agent, should i need to do like TestAgent.java to extend BaseAgent.java?  Another question, where to register my own mib file to myself snmp agent?  I have found some mib register in BasteAgent.java.
> 
> Best Regards:
> 
> Basten.Lee
> 
> 
> 
> 
> basten.li
> 2006-04-30
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list