[SNMP4J] SNMP V2 Trap sender

Frank Fock fock at agentpp.com
Fri Aug 20 13:36:21 CEST 2004


This will do the following statement:

pdu.setType(PDU.TRAP);

Best regards,
Frank

Bharat Dighe wrote:

>Thanks for the pointer.. but it just explains how to build the PDU
>how can I specify that this is a SNMP V2 trap i want to send.
>
>Regards
>- bharat
>
>On Fri, 20 Aug 2004 12:21:41 +0200, Frank Fock <fock at agentpp.com> wrote:
>  
>
>>Bharat,
>>
>>Please see the following posting in the mailing list archive:
>>http://p15141779.pureserver.info/pipermail/snmp4j/2004-July/000082.html
>>
>>Also the org.snmp4j.tools.console.SnmpRequest class
>>is a suitable example.
>>
>>Hope this helps.
>>
>>Best regards,
>>Frank
>>
>>
>>
>>Bharat Dighe wrote:
>>
>>    
>>
>>>Hi folks
>>>
>>>Can some provide me a sample code which sends SNMP V2 trap using SNMP4j library?
>>>
>>>Thanks in advance.
>>>
>>>_ Bharat
>>>_______________________________________________
>>>SNMP4J mailing list
>>>SNMP4J at agentpp.org
>>>http://p15141779.pureserver.info/mailman/listinfo/snmp4j
>>>
>>>
>>>
>>>      
>>>
>>    
>>
>
>  
>





More information about the SNMP4J mailing list