SNMP Agent Simulator Tool

Core simulator

  • Multi-agent SNMPv3 simulator running each agent in its own thread with clean start/stop and teardown.

  • Auth/Priv support: MD5/SHA/SHA2 family for auth; DES/3DES/AES (128/192/256) for privacy; enforces auth required for priv.

  • MIB from CSV: Per-device-type CSVs define OIDs, types, and behaviors (static/dynamic/settable). Per-IP CSVs are generated automatically.

  • SET persistence: When a SET succeeds, the new value is written back to the per-IP CSV so it survives restarts.

  • Dynamic and static values: Numeric/text randomization for value_type=dynamic; fixed values for static.

Protocol handling & diagnostics

  • GET/GETNEXT/BULK/SET responders via pysnmp.

  • USM Report classification with human-readable reasons (unknownUserName, notInTimeWindows, wrongDigests, etc.).

  • Invalid OID detection: Logs exact OIDs requested that aren’t exported or return NoSuch*.

  • Request/response observers: Detailed per-PDU logging including client IP, PDU type, error indexes, and varbinds.

  • Ready watcher: Background wait so “Agent Ready” is logged once agents have initialized.

File & data layout

  • Device types: device_types/<device_type>.csv

  • Per-IP data: device_data/<ip_underscored>.csv, auto-provisioned from device type definitions.

  • Agents config: agents.csv (ip, user, port, auth/priv details, device_type).

Graphical User Interface

  • Top-bar Light/Dark mode toggle (global palette switch, Fusion style for consistent look).

  • System tab

    • Start/Stop simulator, clear log.

    • Live log viewer with color cues (green info milestones, orange warnings, red errors).

    • Status indicator (Running/Stopped).

  • Agents tab

    • One-click Refresh of agent list from agents.csv.

    • Live UDP listen probe per agent/IP/port:

      • “LISTENING” (green) if the port is in use by the simulator,

      • “NOT LISTENING” / specific socket errors (coloured).

    • Auto-sizing table columns.

Logging

  • Unified logging to console, CSV file (log.csv), and the Qt log pane.

  • CSV format: timestamp, level, message for easy parsing.

  • Highlights important milestones (Device Data Ready, Agent Ready) and error conditions (INVALID_OID, INVALID_IP, invalid creds).

SNMP Agent Simulator Listening

SNMPv3 Agent Simulator interface displaying a list of agents with IP addresses, device type, port, and listening status
Screenshot of a software interface titled 'SNMPv3 Agent Simulator,' showing log entries related to device data, agent status, and system details with timestamps, system status as 'Running' in green, and options to start, stop, or clear logs.

SNMP Agent Simulator Start Processes


  
Screenshot of SNMPv3 Agent Simulator interface showing system status, logs, and agent information with timestamps and network details.

SNMP Agent Simulator Responding to SNMP Requests