fmdlc / ISP-Checker

Kubernetes and Docker Compose files to run ISP checks on a Raspberry Pi. 📊
https://www.youtube.com/watch?v=BnQDnCNG1Bs
Apache License 2.0
130 stars 32 forks source link

Steps that I took to fix up ISP-Checker to run on an ubuntu system in 2023 #44

Open henricook opened 1 year ago

henricook commented 1 year ago

Install steps:

RUN apt update && apt install -y speedtest-cli mtr

ENTRYPOINT ["/entrypoint.sh"]

CMD ["telegraf"]

- Update the `docker-compose.yml` replacing `image: tty0... telegraf` with:

build: context: docker-compose dockerfile: telegraf.Dockerfile


- Change old bad hosts like twitter.com to other domains of your choices in the `inputs.ping` section of `docker-compose/telegraf/conf/telegraf.conf`. I went with google.com, amazon.com and bbc.co.uk. Twitter under Elon appears to be adding some kind of lag to their ping responses that makes Telegraf timeout.
- Run: `make install`
- Login to grafana at yourhost:3000 admin/admin and change password
- Problem: I see no dashboards in 'dashboards -> manage'
    - Fix: 
         - Configure the InfluxDB datasource using credentials from `docker-compose/credentials.env` for the read only Grafana user
         - Import the dashboard from the [Grafana Library](https://grafana.com/grafana/dashboards/13140-network/)