On Thu, 11 Jan 2007 13:07:13 -0800 (PST) Venkata wrote: VG> The Other subagent (trapman) is doing only sending traps.
VG> I am calling agent_check_and_process() ... in one thread ... VG> The other thread will receive IPC messages and will be sending traps. Haven't you been paying attention? Net-snmp and threads don't mix well. Keep **ALL** snmp related activity for any given process in one thread, unless you are only using the single session API (which trap sending currently does not do). VG> 2. Is there a way to directly send the traps to the Management device with VG> out going through the snmpd. Yes, see the source for snmptrap. Of course, you'll have to come up with a way to determine the trap destination(s) yourself. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
