[SNMP4J] Writing a simple SNMP agent...
Frank Fock
fock at agentpp.com
Tue Mar 28 21:25:24 CEST 2006
Hi Bruno,
Have you checked out SNMP4J-Agent already? It provides
a lot of features to help writing an agent - especially
when combined with AgenPro (http://www.agentpp.com).
If you really want to write an agent with SNMP4J alone,
then you basically need to implement the CommandResponder
interface.
Best regards,
Frank
Bruno Tessier wrote:
> Hi,
>
> I would like to write a very simple SNMP agent, that responds to GET and
> GET-NEXT requests, and that will send traps. Basically, my agent will
> be sort of an interface between an SNMP manager and our database. I am
> assuming that the hard part will be trying to figure out how to map the
> incoming OID to an object in our database, and that SNMP4J does have
> some classes that handle the SNMP overhead.
>
> Are there any good examples somewhere on how to handle GET/GET-NEXT
> requests, and on sending traps, using SNMP4J?
>
> I have seen a few code snippets in the archive, and from what I could
> see, writing an SNMP agent, using SNMP4J, starts by implementing
> CommandResponder or extending CommandProcessor, is that right?
>
> Thanks,
> Bruno
>
>
> _______________________________________________
> 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