>> Dear Experts, >> I did not find much information in net-snmp website about how to implement >> an application to send traps. Can you please give me some pointers to the >> same? >> >> Regards, >> Vinod
>man snmptrap 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. >From what I could gather I am trying to use send_easy_trap () with 2 int >parameters. But compilation fails on trying - gcc x.c -lnetsnmp -lnetsnmptrapd. There doesn't seem to be any sample program available on the net for traps. Regards, Vinod -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 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