I fork a thread from snmpd.c and in that thread I listen on a message queue and thus generate traps..Sound OK??
--- Robert Story <[EMAIL PROTECTED]> wrote: > On Tue, 14 Jun 2005 12:42:31 -0700 (PDT) Surya > wrote: > SP> Thanks. If I have an external event sent to SNMP > SP> through the pipe or the message queue I added, > once I > SP> get the this event, I can call send_easy_trap() > API > SP> with a fixed OID and it should work right? > > Yep. for a message queue, you'll have to figure a > way to integrate with > select(). > > SP> I tried configuring the DISMAN MIB but it > triggers the > SP> following errors. > > Try just adding the event stuff... > --with-mib-modules=disman/event-mib > > -- > NOTE: messages sent directly to me, instead of the > lists, will be deleted > unless they are requests for paid consulting > services. > > Robert Story; NET-SNMP Junkie > Support: <http://www.net-snmp.org/> > <irc://irc.freenode.net/#net-snmp> > Archive: > <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> > > You are lost in a twisty maze of little standards, > all different. > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, > straightforward articles, > informative Webcasts and more! Get everything you > need to get up to > speed, fast. > http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Net-snmp-coders mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
