27 lines
823 B
Plaintext
27 lines
823 B
Plaintext
|
|
# ── 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
|
|||
|
|
|
|||
|
|
# ── Server ──
|
|||
|
|
SERVER_PORT=5525
|