>>>>> On Thu, 2 Jun 2005 20:24:54 -0400, "Chuck Cottrill" <[EMAIL PROTECTED]> 
>>>>> said:

Chuck> I am not very happy with how the resulting snmp trap generation
Chuck> function gets its arguments, nor how the arguments (dest port,
Chuck> source host, OID, etc) are provided to this function.

Can you show us what you have so far?  That would help.  It's actually
not extremely difficult, but it does take a bit of code.  You have to
create a session and then send a trap or inform pdu through it.  The
argument parsing is very complex, as you noticed, because we try and
provide so many options. 

Chuck> Have I missed something in net-snmp that offers this api?

If you make your long-running application an agent or a sub-agent
you'll find the API for that situation is a bit nicer.

-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to