High level SNMP

Keith Dart kdart at kdart.com
Sat Dec 11 06:03:21 EST 2004


Jeremy Sanders wrote:
> Hi -
> 
> I'd like to write a program which basically does a few snmpgets. I haven't
> been able to find a python package which gives you a nice high-level and
> simple way of doing this (like PHP has). Everything appears to be
> extremely low level. All I need is SNMPv1.
> 
> Does anyone know of a simple python package for doing this? I'd rather
> have something written in pure python, so that it is easily cross-platform.
> 
> Jeremy
> 

The pyNMS package at sourceforge has a complete SNMP (v1, v2c) 
implementation. In pure Python, and fairly self contained. See

http://sourceforge.net/projects/pynms

There are few docs, sorry. If you want to use it and have any questions 
then please let me know (I wrote it).

BTW, you can also read MIB files if you have libsmi installed. But the 
pyNMS package contains a utility called mib2py that converts MIB objects 
to Python, and the pyNMS package has most standard MIBS pre-compiled. 
So, you don't really need libsmi to use the standard MIBs.


The name means Python Network Management System, and will become a 
complete network management system with GUI and scriptability soon. ;-)

There is some support for creating XHTML reports, NMS web interface, 
SNMP get/set, SNMP trap receiver, Ping/ICMP module, process management, 
MIB browser, CLI construction kit, web protocols, easy email interface, 
and asyncio framework. Works well with Linux or FreeBSD.

(PS. It can also answer your phone and take a message)



-- 
                            \/ \/
                            (O O)
-- --------------------oOOo~(_)~oOOo----------------------------------------
Keith Dart <kdart at kdart.com>
vcard: <http://www.kdart.com/~kdart/kdart.vcf>
public key: ID: F3D288E4       URL: <http://www.kdart.com/~kdart/public.key>
============================================================================



More information about the Python-list mailing list