Files
Josef Schlehofer 08da28b3e8 librespeed-common: add measurement backend
Add a common backend for running librespeed-cli measurements on a router.

The package provides a locked measurement runner, live progress state, and
an rpcd ucode plugin exposing start/stop/status/result/history/config over
ubus. Scheduled measurements are managed through cron and can run within a
configurable time window. Optional daily aggregation keeps longer-term
history compact.

Raw measurements are kept in JSONL for a configurable retention period.
When persistent archive storage is configured, completed days are reduced
to daily min/avg/max values.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-09-03 14:53:08 +02:00

19 lines
400 B
Plaintext

config librespeed 'main'
option interface 'wan'
option server 'auto'
option scheme 'auto'
option server_list ''
config librespeed 'schedule'
option enabled '0'
option interval '1d'
option days '*'
option hours '2-5'
config librespeed 'history'
option enabled '1'
option path '/tmp/librespeed/history.jsonl'
option retention '30d'
option archive_path ''
option archive_retention '365d'