Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

No project description provided

Project description

Shamelessly (ab)using NET-SNMP shell commands for a quick-and-dirty Python SNMP lib


  • I’m not fond of the pySNMP API
  • snimpy requires loading libffi-dev and libsmi-dev (i.e. root privs) on the system
  • It’s fast enough


Be sure you have MIB files loaded on your system. You can download them from Cisco’s FTP site like this… wget

from shellsnmp.Poller import SNMP

snmp = SNMP(community='public', host='')
status, time = snmp.bulkwalk(mibfile='/path/to/',

Note that only bulkwalk() has been implemented at this time.


pip install shellsnmp

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for shellsnmp, version 0.1.7
Filename, size File type Python version Upload date Hashes
Filename, size shellsnmp-0.1.7-py2-none-any.whl (4.8 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size shellsnmp-0.1.7.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page