From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com]
>> Well, snmptrap can be used from command line to send traps.
>>
>> But, what I am looking for is to make use of snmp library calls to
>> generate traps - for example, by using send_easy_trap () or snmp_v2trap () 
>> functions.

> You can't - those are part of the *agent* trap API.

Does this mean that these can only be used from within the code of a snmp 
agent/subagent?


> If you are sending notifications from a client application,
> then you use the techniques for sending normal SNMP requests,
> as illustrated by the code for snmptrap.


>> There doesn't seem to be any sample program available on the net for >>traps.

>    apps/snmptrap.c


Regards,
Vinod

http://www.mindtree.com/email/disclaimer.html

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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