On Tue, 29 Mar 2005 11:53:17 +0200 Grasic wrote: GI> I wonder, how can I implement sending traps in agent, triggered from some GI> other thread that listen independent events? GI> GI> In other words: I have snmpd thread that reacts on snmpXXX events. Where GI> and how in the agent I should add code that also sends traps depending on GI> the external event in the system checks (periodicaly/asynchronously) some GI> status?
Use standard IPC to send the data to the agent when an event occurs and you need to send a trap. -- 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 email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders