Repository navigation
|
Hi, I have a question about the alert configuration for 1-minute, 5-minute, and 15-minute load average. In the web UI, these three fields only accept values between 1 and 100. Before assuming this is a limitation, I'd like to confirm how this value is meant to be interpreted. Specifically:
My understanding was that "load average" in Beszel maps to the standard Unix loadavg values (runnable + uninterruptible tasks), which are absolute numbers rather than percentages. However, I could not find anything in the official documentation explaining the 1–100 range or how the threshold is evaluated. For context, my fleet includes:
If the field is a raw comparison, then on Host B a value of I also checked the Getting Started page (https://www.beszel.dev/guide/getting-started) and related docs, but did not see any explanation of this field's units, range, or comparison logic. I'm posting here mainly to make sure I'm not misreading the UI — not to request a change yet. Could someone clarify the intended semantics? Once confirmed, I can decide whether my thresholds are simply misconfigured or whether the range needs revisiting for high-core-count hosts. Thanks for the help. |
Replies: 1 comment 1 reply
|
Your first reading is correct: it's a raw comparison against the load average, with no normalisation by core count and no scaling.
So until the UI range changes, you can set a higher value directly on the record. Open the PocketBase admin ( Since you're fine with the semantics and the limit is purely in the UI, a feature request is probably the cleaner long-term fix: raise the max for the load-average alerts, or offer a "per logical CPU" option. |
Your first reading is correct: it's a raw comparison against the load average, with no normalisation by core count and no scaling.
internal/alerts/alerts_system.go,LoadAvg1/5/15takeInfo.LoadAvg[0/1/2]straight from the agent (unit""), and the alert triggers when that value is greater than the threshold. With a "for N minutes" setting, it uses the average over that window. The tests inalerts_system_test.gocover exactly this: a threshold of4fires at4.1and not at3.9.internal/site/src/lib/alerts.tsdefines all three load-average alerts withmin: 0.1, max: 100, step: 0.1(so it actually goes down to 0.1, not 1). The CPU and memory alerts are pe…