[Twisted-Python] Twisted and SNMP
Vincent Bernat
bernat at luffy.cx
Thu Oct 2 15:12:44 MDT 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:
https://trac.luffy.cx/wiremaps/wiki/SnmpLibrary
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