mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 08:07:24 +04:00
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>
19 lines
400 B
Plaintext
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'
|