SNMPv3 CLI testing utility — GET, WALK, SET, traps, credential testing
Project description
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
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
snmpv3_utils-0.5.0.tar.gz
(104.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file snmpv3_utils-0.5.0.tar.gz.
File metadata
- Download URL: snmpv3_utils-0.5.0.tar.gz
- Upload date:
- Size: 104.0 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29102f562e1b41174dd16273f989fdab29c862ba6738de192386e11a1e2a1f78
|
|
| MD5 |
ded4ce7869cb864c76e0c746bb32abc4
|
|
| BLAKE2b-256 |
b8190ffd72c5c354686b1a16308ef49b0848f3ebe458c79d8d012bf995f574de
|
File details
Details for the file snmpv3_utils-0.5.0-py3-none-any.whl.
File metadata
- Download URL: snmpv3_utils-0.5.0-py3-none-any.whl
- Upload date:
- Size: 26.2 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f53335570fa871c32f6bfe78f3a716a8844f4c82047f277e620a609d190c92dc
|
|
| MD5 |
e4cf2a4db8e171ff5a10cb8037918d8a
|
|
| BLAKE2b-256 |
183bf838b3c7ef4b5e9f2270e41f18431a06b45db756d1ec8f3f8443019f971d
|