FAQ start

This commit is contained in:
Jack Greyhat
2021-01-29 09:31:13 +01:00
parent f2957253ca
commit e7a2151706
2 changed files with 13 additions and 0 deletions

View File

@ -63,6 +63,18 @@ and add:<br/>
- Wait at least one hour (2 speedtest runs, one every 30 mins), for data to be properly populated in your graphs.
- Profit.
## FAQs
Most of the below FAQs are related to how the speedtest command can be adjusted. All of these commands or adjustments must be made to the speedtest command on line 37 in the librenms-speedtest.sh script. In the future, I will make it easier to adjust settings.
- How can I select a speedtest server manually?
Use `speedtest -L` to find the nearest speedtest servers, note the first column, this is the speedtest server id.
Adjust the speedtest command on line 37 to include the server id with `-s`, so it looks like this:
$ speedtest --accept-license --accept-gdpr -p no -s 1234 > $SpeedtestResultDir/speedtest-results 2>/dev/null
## Roadmap
- Include more metrics, such as:
- Jitter during tests

View File

@ -47,6 +47,7 @@ SpeedtestResultDir=$SpeedtestPluginDir/tmp
# Get the server that was used, dump it into a file
cat $SpeedtestResultDir/speedtest-results | grep Server | sed 's/.*Server:\s*\(.*\)/\1/' > $SpeedtestResultDir/speedtest-server
# Update the RRD graphs
rrdtool update $RRDGraphsDir/speedtest-latency.rrd $DATE:$Latency
rrdtool update $RRDGraphsDir/speedtest-bandwidth.rrd $DATE:$DownloadSpeed:$UploadSpeed