mirror of
https://github.com/henrygd/beszel.git
synced 2026-09-21 00:47:47 +02:00
- track pool capacity, health, I/O, scrub status, and vdev errors - report dataset usage and correct ZFS filesystem metrics - add pool charts, detail views, refresh controls, and health alerts - persist pool details and include ZFS usage in disk alerts - support configurable detail intervals and legacy agent compatibility --------- Co-authored-by: hank <hank@henrygd.me>
13 lines
508 B
Go
13 lines
508 B
Go
//go:build !testing
|
|
|
|
package systems
|
|
|
|
// Background SMART fetching is enabled in production but disabled for tests (systems_test_helpers.go).
|
|
//
|
|
// The hub integration tests create/replace systems and clean up the test apps quickly.
|
|
// Background SMART fetching can outlive teardown and crash in PocketBase internals (nil DB).
|
|
func backgroundSmartFetchEnabled() bool { return true }
|
|
|
|
// Background ZFS fetching follows the same policy as SMART fetching.
|
|
func backgroundZfsFetchEnabled() bool { return true }
|