fix: BSD hosts in the role bsd, OpenBSD CPU unknown (#10, #7) #26

Merged
christianmanivong merged 4 commits from fix/bsd-role-and-cpu into main 2026-11-02 00:03:02 +00:00
4 Commits
Author SHA1 Message Date
Christian Manivong ccce4a8406 chore(deps): floor napalm-device-types at 4.23.0
driver / standard (pull_request) Successful in 17s
driver / lint (pull_request) Successful in 19s
driver / types (pull_request) Successful in 1m8s
driver / test (3.12) (pull_request) Successful in 1m7s
driver / test (3.13) (pull_request) Successful in 57s
driver / lowest (pull_request) Successful in 29s
driver / build (pull_request) Successful in 32s
driver / security (pull_request) Successful in 1m5s
CI / driver (pull_request) Successful in 2m50s
driver / publish (pull_request) Skipped
4.23.0 is on PyPI with everything this branch uses; the git pre-install
in CI is no longer needed.
2026-11-02 00:31:50 +01:00
Christian Manivong 9ef8f458ee Merge remote-tracking branch 'origin/main' into fix/bsd-role-and-cpu
# Conflicts:
#	CHANGELOG.md
2026-11-02 00:31:34 +01:00
Christian Manivong 86cdde03bf fix(openbsd): declare the CPU unknown in the SNMP health profile
driver / standard (pull_request) Successful in 16s
driver / lint (pull_request) Failing after 4s
driver / test (3.12) (pull_request) Successful in 55s
driver / types (pull_request) Successful in 1m0s
driver / test (3.13) (pull_request) Successful in 57s
driver / lowest (pull_request) Successful in 29s
driver / build (pull_request) Successful in 29s
driver / security (pull_request) Successful in 1m10s
CI / driver (pull_request) Failing after 2m27s
driver / publish (pull_request) Skipped
net-snmp on OpenBSD answers ssCpuIdle with 0 on an idle host (and
hrProcessorLoad with 100), so a reading of the standard OID shows every
OpenBSD host at 100 % CPU. The profile now marks the CPU unknown, and
the application reports no figure instead of a wrong one. Memory, swap
and load stay on the standard reading.

Closes #7
2026-11-01 22:13:09 +01:00
Christian Manivong ce4a677756 fix: report FreeBSD and OpenBSD hosts in the role bsd
BsdDriver set no ROLE, so both drivers inherited OSDriver's "linux"
and an application that shows or branches on the role treated a BSD
host as a Linux one. One key for both systems.

Closes #10
2026-11-01 22:12:14 +01:00