Compiling Netsnmp for Ubuntu with Python Bindings

apt-get install gcc apt-get install libperl-dev apt-get install python2.7-dev Download the netsnmp source: wget tar xzvf net-snmp-5.7.1.tar.gz cd net-snmp-5.7.1 ./configure --with-python-modules Answer the questions make make install ldconfig akonkol@cmg005:/home/akonkol/net-snmp-5.7.1# python Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import netsnmp >>>

Tagged as python , snmp
Written by Andrew Konkol on October 12th, 2011


[...] python you need to compile it with python modules, I’ve wrote a post about this yesterday in Compiling Netsnmp for Ubuntu. After battling through the compiling bit you should be able to get the example in the IBM post to [...]

Multiprocessing SNMP with Python » copyandwa
October 13, 2011
Log in with Twitter, Google, Facebook, LinkedIn to leave a comment.