2026-03-02 15:20:27 -07:00
|
|
|
|
# ── SNMP NID Viewer – Environment Configuration ──
|
|
|
|
|
|
# Copy to .env and edit as needed. This file is gitignored.
|
|
|
|
|
|
|
|
|
|
|
|
# Target device IP (override via CLI: ./snmp-walk.sh 10.0.0.1)
|
|
|
|
|
|
SNMP_TARGET=10.13.60.102
|
|
|
|
|
|
|
|
|
|
|
|
# ── SNMPv2c ──
|
|
|
|
|
|
SNMP_VERSION=2c
|
|
|
|
|
|
SNMP_COMMUNITY=public
|
|
|
|
|
|
|
|
|
|
|
|
# ── SNMPv3 (future – uncomment and set when needed) ──
|
|
|
|
|
|
# SNMP_VERSION=3
|
|
|
|
|
|
# SNMP_V3_USER=
|
|
|
|
|
|
# SNMP_V3_AUTH_PROTO=SHA # MD5 | SHA | SHA-256 | SHA-512
|
|
|
|
|
|
# SNMP_V3_AUTH_PASS=
|
|
|
|
|
|
# SNMP_V3_PRIV_PROTO=AES # DES | AES | AES-256
|
|
|
|
|
|
# SNMP_V3_PRIV_PASS=
|
|
|
|
|
|
# SNMP_V3_SEC_LEVEL=authPriv # noAuthNoPriv | authNoPriv | authPriv
|
|
|
|
|
|
|
|
|
|
|
|
# ── Walk mode ──
|
|
|
|
|
|
# "full" = walk entire .1 tree (captures everything, ~27% larger)
|
|
|
|
|
|
# "targeted" = walk only subtrees used by the viewer (faster)
|
|
|
|
|
|
SNMP_WALK_MODE=targeted
|
|
|
|
|
|
|
2026-03-04 10:02:52 -07:00
|
|
|
|
# ── Policy data ──
|
|
|
|
|
|
# ACD-POLICY-MIB is ~73% of all OIDs. Set to "false" to skip it for faster walks.
|
|
|
|
|
|
# The Traffic Policies card will be empty when disabled.
|
|
|
|
|
|
SNMP_WALK_POLICIES=true
|
|
|
|
|
|
|
2026-03-02 15:20:27 -07:00
|
|
|
|
# ── Server ──
|
|
|
|
|
|
SERVER_PORT=5525
|