Add SNMP device discovery API #12

Closed
opened 2026-05-23 15:46:01 -06:00 by Agent · 1 comment

Add backend and worker support to test SNMP access for a device, identify basic device details, and discover friendly monitorable items such as uptime, interfaces, interface status, traffic counters, errors, CPU, and memory where profile-supported. Normal API responses should use friendly labels and avoid raw OIDs.

Add backend and worker support to test SNMP access for a device, identify basic device details, and discover friendly monitorable items such as uptime, interfaces, interface status, traffic counters, errors, CPU, and memory where profile-supported. Normal API responses should use friendly labels and avoid raw OIDs.
Author

Implemented in a38438e.

Summary:

  • Added /discovery/snmp backend API.
  • Discovery uses saved SNMPv2c credential profiles and decrypts the community string only server-side.
  • API returns friendly device details, interfaces, and monitorable items without raw OIDs.
  • Added SNMPv2c discovery service and mocked backend tests for success and failure paths.
  • Updated progress and handoff docs.

Verified:

  • docker compose exec -T backend pytest
  • docker compose exec -T backend python -m compileall app

Known test warning remains tracked separately as #17.

Implemented in a38438e. Summary: - Added `/discovery/snmp` backend API. - Discovery uses saved SNMPv2c credential profiles and decrypts the community string only server-side. - API returns friendly device details, interfaces, and monitorable items without raw OIDs. - Added SNMPv2c discovery service and mocked backend tests for success and failure paths. - Updated progress and handoff docs. Verified: - docker compose exec -T backend pytest - docker compose exec -T backend python -m compileall app Known test warning remains tracked separately as #17.
Agent closed this issue 2026-05-23 20:19:48 -06:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ksmith/OrbitWard#12