geerlingguy / internet-pi

Raspberry Pi config for all things Internet.
MIT License
4.15k stars 440 forks source link

change speedtest server #546

Closed EduardoVasNeira closed 2 months ago

EduardoVasNeira commented 10 months ago

I have a doubt, if it is possible to change the speedtest server to the one that does the test. be able to add the id or name of this server

Has anyone been able to do it? which line do i change?

Greetings.

DWomack commented 10 months ago

I did that in internet-monitoring, which is the predecessor to internet-pi.

You have to install the docker stuff manually, then the internet-monitoring docker compose files. There is a directory in the code of internet-pi.

Edit the docker-compose.yml:

version: "3.1"

volumes: prometheus_data: {} grafana_data: {}

networks: front-tier: back-tier:

services: prometheus: image: prom/prometheus:v2.25.2 restart: always volumes:

DWomack commented 10 months ago

Add this in the Speedtest section of the .yml.

environment:

EduardoVasNeira commented 10 months ago

Thank you very much dear friend, I will review what you say and I will apply it. thank you so much

DWomack commented 9 months ago

I went back and looked at the internet-pi install and there is an internet-monitoring directory beneath your home directory.

yourname@rpi4B:~/internet-monitoring $

There you will find...

drwxr-xr-x 3 drw drw 4096 Nov 25 2022 blackbox -rw-r--r-- 1 drw drw 2148 Sep 8 06:40 docker-compose.yml drwxr-xr-x 3 drw drw 4096 Nov 25 2022 grafana -rw-r--r-- 1 drw drw 5241 Nov 25 2022 Grafana-Org-Stats.json drwxr-xr-x 2 drw drw 4096 Aug 19 20:12 prometheus -rw-r--r-- 1 drw drw 3481 Nov 25 2022 README.md -rwxrwxrwx 1 drw drw 98 Aug 4 11:16 update.sh

In docker-compose.yml you will find a section...

speedtest: expose:

I added those last two environment lines.

update.sh is a script I created to update after the edit. It contains...

docker-compose pull docker-compose down docker-compose up -d --no-deps docker system prune --all

36684 is Ga Tech's speedtest server. Use whatever you want. Without specifying a server mine defaults to VZ Nashville. It must be under provisioned, because it fails a lot.

I hope this helps.

Dennis

DWomack commented 9 months ago

VZ finally fixed the issue with their Nashville Speedtest.net server.

DWomack commented 9 months ago

Problem is back.

github-actions[bot] commented 4 months ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

github-actions[bot] commented 2 months ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.