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.4.0.tar.gz
(91.7 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.4.0.tar.gz.
File metadata
- Download URL: snmpv3_utils-0.4.0.tar.gz
- Upload date:
- Size: 91.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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 |
c18639448dc49c87928c05ea7748f6a073bed3534eb8c42a8c754e2c912d9177
|
|
| MD5 |
0b9486843d5a66811bf967b0c53873e0
|
|
| BLAKE2b-256 |
f17d00ce598c141567a5a0b29e65e0bb7c0ff64bcc6a35c59de227c5e26d5a55
|
File details
Details for the file snmpv3_utils-0.4.0-py3-none-any.whl.
File metadata
- Download URL: snmpv3_utils-0.4.0-py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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 |
d31c25c4b81f5ca3a3ecc161158fc6a28cc95b6f8651ea18a8b9f895c08dd15e
|
|
| MD5 |
d4b06e4fec32dcdb988e171c19c43622
|
|
| BLAKE2b-256 |
66f0f6611289560a6c9fa0c7e3fb8ec160f8fb54d30bb03af7009f39954b4480
|