[SNMP4J] How to extract agent address from v3 PDU

Vinoj Louis Vinoj.Louis at aricent.com
Fri Aug 17 08:08:02 CEST 2007


hi Matthieu and Pavel,

Thanks for your response. It helped me.


I have one more query,


I tried to use the MultiThreadedTrapReceiver.java program to listen for 
traps from an remote agent listening in 162 port and <0.0.0.0>.


But its not receiving the traps in processPdu(Event) method. Should i do 
any more extra configuration in the manager to receive it.

thanks in advance.

Vinoj.







"Matthieu Casanova" <chocolat.mou at gmail.com> 
08/16/2007 12:22 PM


To
Vinoj Louis/CHE/HSS at HSS
cc
snmp4j at agentpp.org
Subject
Re: [SNMP4J] How to extract agent address from v3 PDU






Hi, I don't think you will find this address in the PDU (unless the
agent put his address inside), but you should find it in the
CommandResponderEvent :
commandResponderEvent.getPeerAddress()

Matthieu

2007/8/16, Vinoj Louis <Vinoj.Louis at aricent.com>:
> hi,
>
> Please help me how to retreive the Agent source address from the v3 PDU
> trap structure.
>
> thanks in advance.
>
> Vinoj.
>
> ***********************  Aricent-Unclassified   ***********************
> "DISCLAIMER: This message is proprietary to Aricent and is intended 
solely for the use of
> the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be
> circulated or used for any purpose other than for what it is intended. 
If you have received this message in error,
> please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly
> prohibited from using, copying, altering, or disclosing the contents of 
this message. Aricent accepts no responsibility for
> loss or damage arising from the use of the information transmitted by 
this email including damage from virus."
>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
>
>




***********************  Aricent-Unclassified   ***********************
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of 
the individual to whom it is addressed. It may contain privileged or confidential information and should not be 
circulated or used for any purpose other than for what it is intended. If you have received this message in error, 
please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly
prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for 
loss or damage arising from the use of the information transmitted by this email including damage from virus."


More information about the SNMP4J mailing list