Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SNMP module in python

0 views
Skip to first unread message

pixi...@hotmail.com

unread,
Jul 15, 2002, 5:52:05 AM7/15/02
to
Hi,

I am looking for a module written in Python to perform SNMP
communication. Can anyone tell me where I can find one?

Thx,

Henk

Cameron Laird

unread,
Jul 15, 2002, 8:37:52 AM7/15/02
to
.
.
.
By way of <URL: http://
starbase.neosoft.com/~claird/comp.lang.python/snmpy.html >.
--

Cameron Laird <Cam...@Lairds.com>
Business: http://www.Phaseit.net
Personal: http://starbase.neosoft.com/~claird/home.html

Roy Smith

unread,
Jul 15, 2002, 8:12:55 AM7/15/02
to
pixi...@hotmail.com wrote:
> I am looking for a module written in Python to perform SNMP
> communication. Can anyone tell me where I can find one?

I've been using PySNMP, http://sourceforge.net/projects/pysnmp, which is
written entirely in Python. Because it's 100% Python (all the way down
to the messy BER stuff), it's very portable. On the other hand, I
suspect performance is poor. I havn't pushed the corners of the
envelope much, but so far it seems to work for basic stuff.

The other alternative is yapsnmp, http://yapsnmp.sourceforge.net, which
is a SWIG wrapper around the net-snmp (nee ucd-snmp) package. In
theory, I like yapsnmp's approach better, but as a practical matter,
getting it to compile and run has been problematical; I don't have
exactly the same version of net-snmp installed as the author and ran
into compile problems with mis-matched headers.

Keith Dart

unread,
Jul 31, 2002, 6:57:52 AM7/31/02
to
In article <roy-0451CA.0...@reader3.panix.com>, "Roy Smith"
<r...@panix.com> penned these words:

There is also extensive SNMP support in the pyNMS package.

http://pynms.sourceforge.net/

There is an SNMP package in that collection of stuff. It used "compiled"
MIBs (MIBs converted to Python source code) that allows for easy
scripting. Or you can just use OID objects.

This started out as an extension to the pysnmp package, but ended up
being an almost total re-write. Many bugs in the ber module were also
fixed.

It was designed to be easy to use, and flexible.

I like the programmer's interface (API) to this package much better than
the others. But that stands to reason since I wrote it. ;-) Please tell me
what you think if you use it.


There is also XML and XHTML support in that package, among other things.



-- ^
\/ \/
(O O)
-- --------------------oOOo~(_)~oOOo----------------------------------------
Keith Dart
<mailto:kd...@kdart.com>
<http://www.kdart.com/>
----------------------------------------------------------------------------
Public key ID: B08B9D2C Public key: <http://www.kdart.com/~kdart/public.key>
============================================================================

0 new messages