[Twisted-Python] Twisted and SNMP

Vincent Bernat bernat at luffy.cx
Thu Oct 2 17:12:44 EDT 2008

Hi folks!

For people  wanting to use  Twisted to do  some SNMP queries,  there are
actually several solutions:
 - TwistedSNMP that depends on PySNMP, a pure Python implementation
 - pynetsnmp, a ctypes based implementation

I was using pynetsnmp but it segfaults on Python 2.4, even with a recent
ctypes. I have  then rewrite something similar in pure  C. It works fine
for me and people are free to use it:

It is  feature limited:  GET, GETNEXT and  GETBULK only (not  even SET),
SNMPv1 and SNMPv2 only, no walking, etc.  But it works fine and I use it
for grabbing very large sets of data without any problem.
Format a program to help the reader understand it.
            - The Elements of Programming Style (Kernighan & Plauger)

More information about the Twisted-Python mailing list