Re: snmpwalk without OID

2009-11-04 Thread dan anderson
> when we do snmpwalk or snmpgetbulk, we know which tree/subtree is used to > retriving the values from. Not really. A GETNEXT query can't return a lexicographically earlier object, but apart from that you don't really know what'll be returned. If you did, you could just issue consecutive GET que

ok to run the agent in one thread & send traps from another?

2009-11-04 Thread dan anderson
Hi all, The FAQs suggest that the agent is not designed to be run multithreaded. Is it ok, however, to run the agent in one thread and to send traps using the net-snmp API in another? I'm currently doing so, sending traps using snmp_sess_init, snmp_open and snmp_sess_transport to set up the connec