Re: Multi-threaded Net-SNMP Client

2012-09-07 Thread Nathan, Mukund
Hi Katia S: I have been using multiple threads where each thread starts a client and maintains a single session. I am using this for Informs as opposed to the get/set. In all the usage documentation it was found that we need to perform init_snmp("PROGNAME"), once for all threads. Each thread cre

Multi-threaded Net-SNMP Client

2012-09-07 Thread Katia Sarsempagieva
Greetings everyone! I have already and extensively searched answers for the particular problem, but I failed to find any. So, if this topic has already been answered, I apologize. Problem Context: - Let's say I have a MIB that contains a table. And I have written

Re: A primary OID handler for a whole subtree

2012-09-07 Thread Sverre Moe
It does not work by putting & in front of datapointer. It is already a void pointer. Trying with & in front of datapointer outputs wrong. For scalar testCounter it gives 1780230716 instead of 1234. I have modified my code which now works. This version I have registered all 3 scalars. #includ

RE: Problems with patch 1633670 - AgentX timeout and disconnect scenarios

2012-09-07 Thread ken_farnen
I've opened bug 3565004 for this issue (whilst it's related to the previous AgentX disconnect issue, it's more of a new bug, or, indeed, a bug in the patch for the previous bug). Lots of useful stuff uploaded into the bug report, including a stripped down demo subagent and script that demonstra

C#.net API

2012-09-07 Thread kamlesh yadav
Dear Friend, I am working on Snmp Project .I want to use your Api. I am using your tool net-snmp-5.4.2.1-1.win32 I am getting traps using snmpget & snmpwalk. Same result I want to trap using your APi. Please send me lilnk. With Regards, Kamlesh --