Skip to main content

Python snmp using shell calls

Project description

=========
shellsnmp
=========

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

Usage
-----

Be sure you have MIB files loaded on your system.::

from shellsnmp.Poller import SNMP

snmp = SNMP(community='public', host='172.16.1.3')
status, time = snmp.bulkwalk(mibfile='/path/to/IF-MIB.my',
oidspec='ifOperStatus')


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

License and Copyright
---------------------

Licensed MIT

Copyright 2016 - David Michael Pennington (mike /|at|\ pennington.net)

Project details


Download files

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

Source Distribution

shellsnmp-0.0.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

shellsnmp-0.0.1-py2-none-any.whl (4.1 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page