469,282 Members | 2,008 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

Collecting snmp data - threads, processes, twisted?

Hi all,

I'd like to collect snmp data from varoius network devices parallel.

First I tried with my own threadpool class then I gave a try
to Christopher Arndt's threadpool.py
(http://chrisarndt.de/en/software/pyt...readpool.html).

I got the same result: with one thread it finished about 2 mins
with more threads it needed more and more time.

Maybe I ran into the situation where threads aren't the best.
I use yapsnmp (fair easy to 'snmpwalk') for collecting.
it uses net-snmp.

Could you give me some advice how can I make my script really parallel?

My options maybe:
1. pySNMP (as it's full in python)
2. subprocess (I'd like to make (find) a solution as threadpool.py)
(running yapsnmp, pySNMP or even net-snmp?...)
3. TwistedSNMP (seems too weird for me.. cannot imagine a simple
solution for my problem)
4. ...

thanks for your help

--
--arutz

Feb 2 '06 #1
0 1252

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Matthew Bell | last post: by
6 posts views Thread by Zunbeltz Izaola | last post: by
3 posts views Thread by Kevin Ingram | last post: by
9 posts views Thread by perchef | last post: by
reply views Thread by Antal Rutz | last post: by
35 posts views Thread by Carl J. Van Arsdall | last post: by
6 posts views Thread by Rajesh | last post: by
6 posts views Thread by geoffbache | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.