SNMP for both drivers (NetOrk/netork#800): run_device_action("fix_snmp") sets up net-snmp exactly as netOrk does on Linux, and get_snmp_config reports a running agent. FreeBSD's install_package now bootstraps pkg where it was never installed.
Checked live on FreeBSD 15.1 (from a bare system) and OpenBSD 7.9 (repeat run). UCD metrics: memory, swap and load correct on both. FreeBSD's ssCpuIdle appears after about a minute; OpenBSD's CPU figures from net-snmp are wrong (details in #800). 109 tests.
SNMP for both drivers (NetOrk/netork#800): `run_device_action("fix_snmp")` sets up net-snmp exactly as netOrk does on Linux, and `get_snmp_config` reports a running agent. FreeBSD's `install_package` now bootstraps pkg where it was never installed.
Checked live on FreeBSD 15.1 (from a bare system) and OpenBSD 7.9 (repeat run). UCD metrics: memory, swap and load correct on both. FreeBSD's `ssCpuIdle` appears after about a minute; OpenBSD's CPU figures from net-snmp are wrong (details in #800). 109 tests.
run_device_action("fix_snmp") and get_snmp_config for both drivers, as
decided in NetOrk/netork#800: net-snmp from packages rather than the base
daemons, because it answers UCD-SNMP-MIB, which netOrk's health metrics
read.
- fix_snmp installs net-snmp, writes the configuration netOrk uses on
Linux (v2c, community "public", agentAddress udp:161) through stdin as
root, enables and restarts the agent (FreeBSD `service snmpd`, OpenBSD
`rcctl ... netsnmpd`, as `snmpd` is OpenBSD's own daemon) and asks it
for sysDescr. It stops at the first step that fails and says why.
- get_snmp_config reports a running net-snmp's community and port.
- FreeBSD's install_package bootstraps pkg on a classic system that never
had it instead of waiting for an answer that never comes.
Checked live: FreeBSD from a bare system, OpenBSD again over an existing
setup. Memory, swap and load answer on both; FreeBSD's ssCpuIdle about a
minute after start; OpenBSD's CPU figures from net-snmp are wrong (#800).
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.
SNMP for both drivers (NetOrk/netork#800):
run_device_action("fix_snmp")sets up net-snmp exactly as netOrk does on Linux, andget_snmp_configreports a running agent. FreeBSD'sinstall_packagenow bootstraps pkg where it was never installed.Checked live on FreeBSD 15.1 (from a bare system) and OpenBSD 7.9 (repeat run). UCD metrics: memory, swap and load correct on both. FreeBSD's
ssCpuIdleappears after about a minute; OpenBSD's CPU figures from net-snmp are wrong (details in #800). 109 tests.run_device_action("fix_snmp") and get_snmp_config for both drivers, as decided in NetOrk/netork#800: net-snmp from packages rather than the base daemons, because it answers UCD-SNMP-MIB, which netOrk's health metrics read. - fix_snmp installs net-snmp, writes the configuration netOrk uses on Linux (v2c, community "public", agentAddress udp:161) through stdin as root, enables and restarts the agent (FreeBSD `service snmpd`, OpenBSD `rcctl ... netsnmpd`, as `snmpd` is OpenBSD's own daemon) and asks it for sysDescr. It stops at the first step that fails and says why. - get_snmp_config reports a running net-snmp's community and port. - FreeBSD's install_package bootstraps pkg on a classic system that never had it instead of waiting for an answer that never comes. Checked live: FreeBSD from a bare system, OpenBSD again over an existing setup. Memory, swap and load answer on both; FreeBSD's ssCpuIdle about a minute after start; OpenBSD's CPU figures from net-snmp are wrong (#800).