[SNMP4J] CommandResponder responding to walk

Torsten Curdt tcurdt at vafer.org
Fri Oct 16 01:38:15 CEST 2009


Hey Frank,

> Almost all of your questions are answered by
> RFC 3416 section 4.2.2.

Thanks for the pointer. Exactly what I was looking for :)

> The transport mapping for the response has to be
> set to ensure that you use the same mapping to
> send the response as which has received the
> request.

IIRC that is only required for v3+ ...right?

> Why are you trying to implement your own agent
> from scratch? Why not using SNMP4J-Agent?

Well, I certainly would prefer to use what is there :)

I have a tree that I want to expose. Every node has a OID and can
return a Variable. Seems all I need is an agent that implements:

 public Variable getVariable(String oid) {
 }

Which searches my tree and returns the Variable of the node.

Suggestions are welcome on how to implement this best. I am certain
that I don't know the API well enough to pick the best approach here
yet.

cheers
--
Torsten



More information about the SNMP4J mailing list