snmpv3-utils
A Python CLI for SNMPv3 testing. Most existing tools only support v1/v2 — this one does v3 properly.
Install
pipx install snmpv3-utils
Quick Start
# GET a single OID
snmpv3 query get 192.168.1.1 1.3.6.1.2.1.1.1.0 \
--username admin \
--auth-protocol SHA256 --auth-key myauthpass \
--priv-protocol AES128 --priv-key myprivpass \
--security-level authPriv
# WALK the system MIB
snmpv3 query walk 192.168.1.1 1.3.6.1.2.1.1 --profile myrouter
# Send a trap
snmpv3 trap send 192.168.1.1 --profile myrouter
# Test credentials
snmpv3 auth check 192.168.1.1 --profile myrouter
# Bulk test from a CSV
snmpv3 auth bulk 192.168.1.1 --file creds.csv
# JSON output (for piping into jq)
snmpv3 query walk 192.168.1.1 1.3.6.1.2.1.1 --format json | jq '.[] | .value'
Configuration
Copy .env.example to .env and fill in your defaults:
cp .env.example .env
Or use named profiles:
snmpv3 profile add myrouter \
--username admin \
--auth-protocol SHA256 --auth-key myauthpass \
--priv-protocol AES128 --priv-key myprivpass \
--security-level authPriv
Commands
| Group | Command | Description |
|---|---|---|
query |
get |
Fetch a single OID |
query |
getnext |
Single GETNEXT step |
query |
walk |
Full subtree traversal |
query |
bulk |
GETBULK retrieval |
query |
set |
Set an OID value |
trap |
send |
Send a trap or inform |
trap |
listen |
Listen for incoming traps |
auth |
check |
Test a credential set |
auth |
bulk |
Test many credentials from CSV |
profile |
add/delete/list/show |
Manage credential profiles |
Supported Security
| Level | Auth | Privacy |
|---|---|---|
| noAuthNoPriv | — | — |
| authNoPriv | MD5, SHA1, SHA256, SHA512 | — |
| authPriv | MD5, SHA1, SHA256, SHA512 | DES, AES128, AES256 |
License
MIT
Metadata
Release files for snmpv3-utils 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| snmpv3_utils-0.5.0.tar.gz | 104.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| snmpv3_utils-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 130.2 kB
Release files / snmpv3_utils-0.5.0.tar.gz
| Download URL | snmpv3_utils-0.5.0.tar.gz |
|---|---|
| Size | 104.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29102f562e1b41174dd16273f989fdab29c862ba6738de192386e11a1e2a1f78
|
|
BLAKE2b-256 checksum How to use checksums |
b8190ffd72c5c354686b1a16308ef49b0848f3ebe458c79d8d012bf995f574de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / snmpv3_utils-0.5.0-py3-none-any.whl
| Download URL | snmpv3_utils-0.5.0-py3-none-any.whl |
|---|---|
| Size | 26.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f53335570fa871c32f6bfe78f3a716a8844f4c82047f277e620a609d190c92dc
|
|
BLAKE2b-256 checksum How to use checksums |
183bf838b3c7ef4b5e9f2270e41f18431a06b45db756d1ec8f3f8443019f971d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|