PySNMP Thread unsafe?

Nick Craig-Wood nick at craig-wood.com
Thu Jul 27 05:30:03 EDT 2006


rob.audenaerde at gmail.com <rob.audenaerde at gmail.com> 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 twisted not threads?  You'd be able to poll
all 250 devices at once with twisted...

This might be helpful (haven't tried it myself though)

  http://twistedsnmp.sourceforge.net/

-- 
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick



More information about the Python-list mailing list