Pulse/internal/hostagent
rcourtman 8c7d507ea4 fix(alerts): make --disk-exclude suppress Proxmox SSD wear/health alerts (#1142)
The --disk-exclude agent flag only filtered local metric collection but
had no effect on server-side Proxmox disk health and SSD wearout alerts,
which poll the Proxmox API directly. Users excluding disks (e.g.
--disk-exclude sda) still received alerts for those disks.

Agent now sends its DiskExclude patterns in each report. The server
stores them on the Host model and consults them during Proxmox disk
polling — excluded disks get a synthetic healthy status passed to
CheckDiskHealth so any existing alerts clear immediately.

Also adds FreeBSD pseudo-filesystem types (fdescfs, devfs, linprocfs,
linsysfs) to the virtual FS filter and /var/run/ to special mount
prefixes, fixing false disk-full alerts on FreeBSD for fdescfs mounts.
2026-02-20 13:31:52 +00:00
..
agent.go fix(alerts): make --disk-exclude suppress Proxmox SSD wear/health alerts (#1142) 2026-02-20 13:31:52 +00:00
agent_buffering_test.go Fix offline buffering: add tests, remove unused config, fix flaky test 2025-12-02 22:31:44 +00:00
agent_flushbuffer_test.go Enhance devcontainer and CI workflows 2026-01-01 22:29:15 +00:00
agent_metrics_test.go feat: add host agent sysinfo and improve test coverage 2026-01-24 22:42:46 +00:00
agent_new_test.go feat: add host agent sysinfo and improve test coverage 2026-01-24 22:42:46 +00:00
agent_sensors_test.go feat: add host agent sysinfo and improve test coverage 2026-01-24 22:42:46 +00:00
agent_test.go feat: add host agent sysinfo and improve test coverage 2026-01-24 22:42:46 +00:00
command_client_test.go feat: Commands disabled by default, require --enable-commands to opt-in 2025-12-24 17:36:44 +00:00
commands.go Update core infrastructure components 2026-01-28 16:52:35 +00:00
commands_connect_test.go Enhance devcontainer and CI workflows 2026-01-01 22:29:15 +00:00
commands_coverage_test.go feat: add host agent sysinfo and improve test coverage 2026-01-24 22:42:46 +00:00
commands_execute_test.go Update core infrastructure components 2026-01-28 16:52:35 +00:00
commands_registration_test.go Add meaningful tests for host agent and exec websocket 2025-12-17 17:02:01 +00:00
commands_test.go Update core infrastructure components 2026-01-28 16:52:35 +00:00
hostagent_coverage_test.go feat: add host agent sysinfo and improve test coverage 2026-01-24 22:42:46 +00:00
mock_collector_test.go feat: add host agent sysinfo and improve test coverage 2026-01-24 22:42:46 +00:00
network_helpers_test.go test: Add comprehensive test coverage across packages 2026-01-19 19:26:18 +00:00
proxmox_setup.go fix(agent): add retry with backoff to Proxmox auto-registration (#1267, #1269, #1261, #1268) 2026-02-18 16:05:40 +00:00
proxmox_setup_test.go fix(agent): add retry with backoff to Proxmox auto-registration (#1267, #1269, #1261, #1268) 2026-02-18 16:05:40 +00:00
send_report_test.go hostagent: avoid host ID collisions and prefer LAN IP 2025-12-17 16:29:59 +00:00
sysinfo.go feat: add host agent sysinfo and improve test coverage 2026-01-24 22:42:46 +00:00
sysinfo_test.go feat: add host agent sysinfo and improve test coverage 2026-01-24 22:42:46 +00:00
version.go Add API token scopes and standalone host agent 2025-10-23 11:40:31 +00:00