SnmpHealthProfile (+ SnmpValueSpec, SnmpMemorySpec, SnmpInterfacesSpec): fallback OIDs, tables folded by first/average/max, a pattern for text answers, memory as total+used/free or percent with a unit, interfaces to skip and TX errors that are drops. Every key optional.
HealthMetricsMixin.get_health_metrics warns DeprecationWarning; it goes in 5.0.
README: SNMP is the application's, with an example profile.
The application side is NetOrk/netork#1129 (it reads the profile as a plain mapping, so it does not need this version to work). Next: procurve, netgear and tplink declare profiles instead of their own collectors.
Step 3 of NetOrk/netork#1105, base-package side.
- `SnmpHealthProfile` (+ `SnmpValueSpec`, `SnmpMemorySpec`, `SnmpInterfacesSpec`): fallback OIDs, tables folded by first/average/max, a pattern for text answers, memory as total+used/free or percent with a unit, interfaces to skip and TX errors that are drops. Every key optional.
- `HealthMetricsMixin.get_health_metrics` warns `DeprecationWarning`; it goes in 5.0.
- README: SNMP is the application's, with an example profile.
The application side is NetOrk/netork#1129 (it reads the profile as a plain mapping, so it does not need this version to work). Next: procurve, netgear and tplink declare profiles instead of their own collectors.
Rebased onto 4.11.0 (DHCP HA / config sync, #42).
Closes #32
Drivers no longer collect over SNMP (docs/STRUCTURE.md). A driver whose
device publishes its health values under OIDs of its own declares them
as SNMP_HEALTH_PROFILE: per value either scalars asked in order or a
table folded by first, average or max, optionally with a pattern for
text answers; memory as total with used or free, or a percentage, in
KiB or bytes; and how to read the interfaces. The application polls
and computes.
HealthMetricsMixin.get_health_metrics now warns that it is deprecated;
it goes in 5.0.
Closes#32
christianmanivong
changed title from feat: SnmpHealthProfile, the OIDs a driver declares; deprecate HealthMetricsMixin (4.11.0) to feat: SnmpHealthProfile, the OIDs a driver declares; deprecate HealthMetricsMixin (4.12.0)2026-10-16 13:29:56 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Step 3 of NetOrk/netork#1105, base-package side.
SnmpHealthProfile(+SnmpValueSpec,SnmpMemorySpec,SnmpInterfacesSpec): fallback OIDs, tables folded by first/average/max, a pattern for text answers, memory as total+used/free or percent with a unit, interfaces to skip and TX errors that are drops. Every key optional.HealthMetricsMixin.get_health_metricswarnsDeprecationWarning; it goes in 5.0.The application side is NetOrk/netork#1129 (it reads the profile as a plain mapping, so it does not need this version to work). Next: procurve, netgear and tplink declare profiles instead of their own collectors.
Rebased onto 4.11.0 (DHCP HA / config sync, #42).
Closes #32
64cc20ba00tob4c4ec0b0bfeat: SnmpHealthProfile, the OIDs a driver declares; deprecate HealthMetricsMixin (4.11.0)to feat: SnmpHealthProfile, the OIDs a driver declares; deprecate HealthMetricsMixin (4.12.0)