[Twisted-Python] Twisted and SNMP
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)
This is exactly what I've been looking for. thank you! On Thu, Oct 2, 2008 at 5:12 PM, Vincent Bernat <bernat@luffy.cx> wrote:
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)
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
participants (2)
-
J Davis -
Vincent Bernat