Using Net-SNMP and IPython

From: IBM developerWorks Worldwide  read times: 174


Provided by yangyi at 2007-12-23 19:38:13


Level: Intermediate

Noah Gift (noah.gift@giftcs.com), Software Engineer, Racemi

11 Dec 2007

Data centers and production facilities are embracing Simple Network Management Protocol (SNMP) as a way to get a handle on dense and complex infrastructures. The Net-SNMP library now has Python™ bindings, and it is an excellent choice to write custom code to manage a data center or supplement full-blown Network Management Systems (NMS). Due to the complexity of SNMP, using an interactive tool like IPython can make all the difference. In this article, learn how to use Net-SNMP, Python, and the IPython shell to interactively explore and manage a network.

Introduction

Most systems administrators have had some experience with Simple Network Management Protocol (SNMP), or at least have heard of it. If you are working in a data center, then you probably interact with SNMP, in some way, on a daily basis. There are many impressive, full-scale Network Management Systems (NMS) or Network Monitoring Systems that do notable SNMP monitoring, but this article is not about those systems. This article is about exploring SNMP through the Python™ language and writing the code yourself.

......

Please access the below link to view the full content.

Original link: http://www.ibm.com/developerworks/aix/library/au-netsnmpnipython/?S_TACT=105AGX54&S_CMP=A1214&ca=dnw-848