feat: declare the SNMP health OIDs instead of collecting them (0.2.0) #5

Merged
christianmanivong merged 1 commits from feat/snmp-health-profile into main 2026-10-16 23:06:59 +00:00
Owner
  • get_health_metrics goes; SNMP_HEALTH_PROFILE declares uptime (TimeTicks, checked on swt-l2-3-38), CPU and memory as per-unit tables, first row as before.
  • Interface counters come from the 64-bit ifXTable where the switch has it.

Part of #4

Merge order: together with NetOrk/netork#1129 and the pin bump in netOrk. netOrk before #1129 only polls drivers that have their own get_health_metrics, so this driver alone would stop being polled. Part of NetOrk/netork#1105 / #1108.

- `get_health_metrics` goes; `SNMP_HEALTH_PROFILE` declares uptime (TimeTicks, checked on swt-l2-3-38), CPU and memory as per-unit tables, first row as before. - Interface counters come from the 64-bit ifXTable where the switch has it. Part of #4 **Merge order:** together with NetOrk/netork#1129 and the pin bump in netOrk. netOrk before #1129 only polls drivers that have their own `get_health_metrics`, so this driver alone would stop being polled. Part of NetOrk/netork#1105 / #1108.
christianmanivong added 1 commit 2026-10-16 10:04:03 +00:00
feat: declare the SNMP health OIDs instead of collecting them (0.2.0)
Tests / Test (Python 3.10) (pull_request) Successful in 22s
Tests / Test (Python 3.11) (pull_request) Successful in 21s
Tests / Test (Python 3.12) (pull_request) Successful in 24s
b01d70aa3c
The driver no longer collects over SNMP. SNMP_HEALTH_PROFILE states
where the switch publishes uptime (TimeTicks), CPU and memory (tables
with one row per stack unit, first row as before); the application
polls and computes (napalm-device-types docs/STRUCTURE.md).

Interface counters now come from the 64-bit ifXTable where the switch
has it, as the application reads them for every device.
christianmanivong merged commit f4d553b7df into main 2026-10-16 23:06:59 +00:00
christianmanivong deleted branch feat/snmp-health-profile 2026-10-16 23:06:59 +00:00
Sign in to join this conversation.