[SNMP4J] AgentX subagent example?
Frank Fock
fock at agentpp.com
Mon Apr 7 18:59:01 CEST 2008
Hi Toby,
You can find an example within the SNMP4J-AgentX
package in TestSubagent.java from
the org.snmp4j.agent.agentx.subagent.test
package.
Using the AgenPro generated classes with a
SNMP4J-AgentX sub-agent is transparent
if you do not need shared tables. But even
in that case you may use a MOFactory to create
the necessary AgentXSharedMOTable transparently.
Best regards,
Frank
Toby DiPasquale wrote:
> Hi all,
>
> Does anyone know of any example code for an AgentX subagent with
> SNMP4j? I've been looking around the code search engines and have been
> unable to find any. I've implemented some MIBs for our stuff and want
> to write subagents to work with net-snmp 5.4 but the code generated by
> AgenPro doesn't seem to generate a Java subagent. Anybody have any
> ideas how I get started writing subagents with SNMP4j? Thanks in
> advance!
>
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list