[SNMP4J] Beginners question

Chris lsmystery at yahoo.com
Fri May 11 13:27:29 CEST 2007


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



More information about the SNMP4J mailing list