Re: PySNMP Thread unsafe?

2006-07-27 Thread Nick Craig-Wood
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm trying to monitor about 250 devices with SNMP, using PySNMP version 4. I use the threading.Thread to create a threadpool of 10 threads, so devices not responding won't slow down the monitoring process too much. This is surely a job for

Re: PySNMP Thread unsafe?

2006-07-25 Thread etingof
pysnmp has been designed to be MT-safe. Although, I've never used it in a MT app, so there may be a bug showing up when you do threading... At its simplest, I'd advise snooping on the wire to make sure you are querying different devices at the same time and also to see where the [I assume]

PySNMP Thread unsafe?

2006-07-24 Thread rob . audenaerde
I'm trying to monitor about 250 devices with SNMP, using PySNMP version 4. I use the threading.Thread to create a threadpool of 10 threads, so devices not responding won't slow down the monitoring process too much. Here comes my problem. When using PySNMP single threaded, every this goes well;

Re: PySNMP Thread unsafe?

2006-07-24 Thread Chris Lambacher
On Mon, Jul 24, 2006 at 02:21:10AM -0700, [EMAIL PROTECTED] wrote: I'm trying to monitor about 250 devices with SNMP, using PySNMP version 4. I use the threading.Thread to create a threadpool of 10 threads, so devices not responding won't slow down the monitoring process too much. Here