Superfast snmp bulkwalk method implemented using net-snmp bindings for getbulk
Project description
Fastsnmpy is a module that leverages python-extensions that come with net-snmp and provide highly parallelized faster-methods to walk oid-trees on devices.
In addition, it provides a method to bulkwalk mib-trees. BulkWalk methods are missing from native python-bindings for net-snmp. By creating a wrapper around the GetBulk method instead, and maintaining state while traversing the oid-tree, fastsnmpy provides a clever solution to bulkwalk oids much faster.
It provides the following methods as of Fastsnmpy-1.2.1
snmpwalk(): Native python-bindings distributed with net-snmp, combined with fastsnmpy’s ability to parallelize snmpwalk operations.
snmpbulkwalk(): Ability to snmpbulkwalk devices, which makes it several magnitudes faster than net-snmp’s implementation of snmpwalk.
By leveraging the getbulk method, this module provides a quick snmpbulkwalk utility.
PROCESS-POOLS: By passing in a ‘workers=n’ attribute to the above methods, fastsnmpy can instantiate a process-pool to parallelize the snmpwalk and snmpbulkwalk methods, resulting in several devices being walked at the same time, effectively using all cores on a multicore machine.
One-Line, and Two-Line scripts that enable you to discover/walk all devices in a whole datacenter
Both Linux and Windows support
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
File details
Details for the file fastsnmpy2-1.2.2.tar.gz.
File metadata
- Download URL: fastsnmpy2-1.2.2.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e00b80a6b0346ac08fffd95ecf9c292dd43e0836853a53a04f83fa6b270c8173
|
|
| MD5 |
a42ee699d52d021c546c58ba3538c593
|
|
| BLAKE2b-256 |
0e01f43a8ae52b99865ac31429250992df03f8e5f66c7aabda507310c1f08b98
|