Memory usage is probably inverted: the OID read as "used" is free memory #9

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

get_health_metrics (procurve.py ~1309-1353) reads _HP_MEM_USED = "1.3.6.1.4.1.11.2.14.11.5.1.1.2.1.1.1.6.1" and computes used / total. In NETSWITCH-MIB hpLocalMemEntry, column 5 is TotalBytes, 6 FreeBytes and 7 AllocBytes, so the percentage would be the free share. To confirm on a switch (snmpwalk … 1.3.6.1.4.1.11.2.14.11.5.1.1.2.1.1.1). The collection itself moves to the application (NAPALM/napalm-device-types#32); the profile must then name the right column.

Prio P3: wrong figure on every ProCurve switch, if confirmed.

`get_health_metrics` (`procurve.py` ~1309-1353) reads `_HP_MEM_USED = "1.3.6.1.4.1.11.2.14.11.5.1.1.2.1.1.1.6.1"` and computes `used / total`. In NETSWITCH-MIB `hpLocalMemEntry`, column 5 is TotalBytes, 6 FreeBytes and 7 AllocBytes, so the percentage would be the free share. To confirm on a switch (`snmpwalk … 1.3.6.1.4.1.11.2.14.11.5.1.1.2.1.1.1`). The collection itself moves to the application (NAPALM/napalm-device-types#32); the profile must then name the right column. Prio P3: wrong figure on every ProCurve switch, if confirmed.
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#9