No project description provided
Project description
Shamelessly (ab)using NET-SNMP shell commands for a quick-and-dirty Python SNMP lib
Why
Usage
Be sure you have MIB files loaded on your system. You can download them from Cisco’s FTP site like this… wget ftp://ftp.cisco.com/pub/mibs/v2/MIB-NAME.my
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.
Installation
pip install shellsnmp
License and Copyright
Licensed MIT
Copyright 2016 - David Michael Pennington (mike [~at~] pennington [/dot] net)
Project details
Release history Release notifications | RSS feed
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.1.6.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for shellsnmp-0.1.6-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0606a77b711069cb64da7e78d57890748256b81ee93c4590a3cd92f8a31799db |
|
MD5 | 5d622086b64203325ed216130f35912e |
|
BLAKE2b-256 | 8a5c06e0bf1adb258f45e3e2b18cf46a5cd712334b1fefd1ec5fb0e27dc810a6 |