[SNMP4J] Agent address in SNMPv2

Pavel Orehov pavel.orehov at gmail.com
Tue Jul 3 16:01:59 CEST 2007


I am afraid that it gived me the real peer that sended the UDP message. What
I need is the AgentIP inside the PDU that might be different from the real
one.

On 7/3/07, Tassos Kontogiorgis <tkontogiorgis at antcor.com> wrote:
>
> Try getPeerAddress() from the ResponseEvent or the CommandResponseEvent()
> .
>
> Pavel Orehov wrote:
> > Hi,
> >
> > I would like to know why there is no agentAddress members in PDU ?
> >
> > The problem that I listen to SNMPv2 messages and I need agentAddress
> from
> > the PDU and it is not exists.
> >
> > Thanks,
> > Pavel
> > _______________________________________________
> > SNMP4J mailing list
> > SNMP4J at agentpp.org
> > http://lists.agentpp.org/mailman/listinfo/snmp4j
> >
>
>



More information about the SNMP4J mailing list