[SNMP4J] Re:Beginners question (Chris)
通子
ytsun04 at 163.com
Tue May 15 07:48:53 CEST 2007
If you write a agent ,Use
NotificationOriginator no =
getNotificationOriginator();
no.notify(OctetSting,OID,...)
?2007-05-12?snmp4j-request at agentpp.org ???
>Send SNMP4J mailing list submissions to
> snmp4j at agentpp.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.agentpp.org/mailman/listinfo/snmp4j
>or, via email, send a message with subject or body 'help' to
> snmp4j-request at agentpp.org
>
>You can reach the person managing the list at
> snmp4j-owner at agentpp.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of SNMP4J digest..."
>
>
>Today's Topics:
>
> 1. Beginners question (Chris)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 11 May 2007 04:27:29 -0700 (PDT)
>From: Chris <lsmystery at yahoo.com>
>Subject: [SNMP4J] Beginners question
>To: snmp4j at agentpp.org
>Message-ID: <844242.98557.qm at web90607.mail.mud.yahoo.com>
>Content-Type: text/plain; charset=iso-8859-1
>
>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
>
>
>End of SNMP4J Digest, Vol 40, Issue 12
>**************************************
>
More information about the SNMP4J
mailing list