[SNMP4J] Beginners question

Frank Fock fock at agentpp.com
Sat May 12 13:03:57 CEST 2007


Hi Chris,

In a SNMP4J-Agent you should use a
NotificationOriginator of the agent API.

Best regards,
Frank

Chris wrote:
> Hi is there anyone who would like to reply my
> begineers
> question which i havent received reply it. :--)
> 
> 
>       Hi , As I have to implement the Agent cabable of
> only
> sending traps I am currently evaluating
> SNMP4J. 
> 
>   I was able to test the TestAgent program and after
> going through the some java code, API doc and mailing
> list archive ,I am bit confused.
> And my confusion is: To send the trap should I use
> 
>                SNMP snmp = getSession()
>                SNMP.send( PDU,Target ) method  
> 
>                     OR
> 
>                NotificationOriginator no =
> getNotificationOriginator();
>                no.notify(OctetSting,OID,...)
> 
> Chris
> 
> 
>        
> ____________________________________________________________________________________Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. 
> http://mobile.yahoo.com/go?refer=1GNXIC
> _______________________________________________
> 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