get_snmp_config always reports no SNMP on the REST transport #10

Closed
opened 2026-10-14 08:58:52 +00:00 by christianmanivong · 0 comments
Owner

get_snmp_config (procurve.py ~1173-1208) sends show snmp-server through self._device, which is None on the REST transport (… if self._device else ""), and returns None. A switch managed over REST therefore always reads as "SNMP not configured", although api_client.get_snmp_communities() (~579) exists. Fix: use the REST path.

Prio P3: false "SNMP not configured" on REST-managed switches.

`get_snmp_config` (`procurve.py` ~1173-1208) sends `show snmp-server` through `self._device`, which is None on the REST transport (`… if self._device else ""`), and returns None. A switch managed over REST therefore always reads as "SNMP not configured", although `api_client.get_snmp_communities()` (~579) exists. Fix: use the REST path. Prio P3: false "SNMP not configured" on REST-managed switches.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-hpe-aruba-procurve#10