problem in snmp_select_info

2013-02-20 Thread Geet Bhatia
Hi All, I am writing a async snmp application taking help from netsnmp async code example. I am following the same steps that are mentioned in example. In my application I am polling the agent at regular interval. On timer elapse the code creates a snmp_session with all values and sends the get re

Re: Benefit of a multi-threaded agent?

2013-02-20 Thread Yun Li
Can anyone share opinions/thoughts? Thanks. -yun 2013/2/7 Yun Li > Hi Gurus, > > I understand that current net-snmp agent implementation is single threaded > (and yes. I am aware of single session API). From the experience I have in > developing mib module, I will say I am very satisfied with t

how to programmatically send out a trap?

2013-02-20 Thread Stéphane Charette
If an application which until now has no calls to net-snmp needs to send out a trap to all the trap sinks defined, what is the proper way to do it? I've found the following in agent_trap.h: send_easy_trap(...) send_trap_pdu(...) send_v2trap(...) send_trap_vars(...) send_enterprise_trap_vars(...)