SNMP Library for Python 7#

PySNMP is a cross-platform, pure-Python SNMP engine implementation. It features fully-functional SNMP engine capable to act in Agent/Manager/Proxy roles, talking SNMP v1/v2c/v3 protocol versions over IPv4/IPv6 and other network transports.

Despite its name, SNMP is not really a simple protocol. For instance its third version introduces complex and open-ended security framework, multilingual capabilities, remote configuration and other features. PySNMP implementation closely follows intricate system details and features bringing most possible power and flexibility to its users.

Current PySNMP stable version is 7.0. It runs with Python 3.8+ and is recommended for new applications as well as for migration from older, now obsolete, PySNMP releases. All site documentation and examples are written for the 6.0 and later versions in mind. Older materials have been removed.

Besides the libraries, a set of pure-Python command line tools are shipped along with the system. Those tools mimic the interface and behavior of popular Net-SNMP snmpget/snmpset/snmpwalk utilities. They may be useful in a cross-platform situations as well as a testing and prototyping instrument for pysnmp users.

PySNMP software is free and open-source. Source code is hosted in the PySNMP Github repository. The library is being distributed under 2-clause BSD-style license.

PySNMP library development has been initially sponsored by a PSF grant.

Quick Start#

You already know something about SNMP and have no courage to dive into this implementation? Try out quick start page!

Documentation#

You can find conceptual and API documentation in the following section.

Samples#

We have a collection of sample scripts to help you get started with PySNMP.

Troubleshooting#

If you are having trouble with PySNMP, please check the following section.

Downloads#

Best way is usually to install PySNMP using PySNMP PyPI package.

$ pip install pysnmp

If that does not work for you for some reason, you might need to read the following page.

We fanatically document all fixes, changes and new features in changelog.

License#

This library is distributed under 2-clause BSD-style license.

FAQ#

We have a collection of frequently asked questions.

Contact#

In case of questions or troubles using PySNMP, please open up a new GitHub issue or ask on Stack Overflow.

For other inquiries, please contact LeXtudio Inc..

More information about support options can be found in the following section.