Multi-threaded net-snmp client

2019-09-12 Thread Pratyush Mehrotra
Hi Katia, I saw the thread of this emailMulti-threaded net-snmp client and found what I have been looking for. I want to create a multi threaded application for fetching a set of data from multiple devices. I tried referring to your project at the link you provided but unfortunately it was not av

Re: Multi-threaded Net-SNMP Client

2012-09-17 Thread Katia Sarsempagieva
Hello and sorry for the delayed answer! @ Mukund --- Unfortunately, I cannot find the "No Threads When init_snmp('progname')" restriction. I have read it somewhere, but I cannot find it again... Also, when running multiple threads with one session per thread (with init

RE: Multi-threaded Net-SNMP Client

2012-09-10 Thread Edouard COLE
you are NOT using threads.. No other explanation was given. That's why I'm so stuck. I have no idea how to implement a multi-threaded net-snmp client with one session per thread, with no SegFaults.. If anyone has a tutorial, a how-to or a code snippet regarding the aforementioned problem, pl

Re: Multi-threaded Net-SNMP Client

2012-09-09 Thread Nathan, Mukund
ther information, just this: you can have multiple sessions with > the same init_snmp(), but ONLY if you are NOT using threads.. No other > explanation was given. That's why I'm so stuck. I have no idea how to > implement a multi-threaded net-snmp client with one session per thr

Re: Multi-threaded Net-SNMP Client

2012-09-09 Thread Katia S.
h the same init_snmp(), but ONLY if you are NOT using threads.. No other explanation was given. That's why I'm so stuck. I have no idea how to implement a multi-threaded net-snmp client with one session per thread, with no SegFaults.. If anyone has a tutorial, a how-to or a code s

Re: Multi-threaded Net-SNMP Client

2012-09-07 Thread Nathan, Mukund
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 a multi-threaded Net-SNMP Client application that reads > and write

Multi-threaded Net-SNMP Client

2012-09-07 Thread Katia Sarsempagieva
have written a multi-threaded Net-SNMP Client application that reads and writes to the mentioned MIB. Each thread writes on its own Index. For example, only one thread will write and read the row with Index = 1 (myTable.1), so I do not have to lock any rows or tables to add thread protection. (The s