Skip to content

Utilise the official Ookla Speedtest CLI to export results to Influxdb via Telegraf to be displayed within Grafana.

License

Notifications You must be signed in to change notification settings

risb0r/telegraf-speedtest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telegraf-speedtest

Utilise the official Ookla Speedtest CLI to export results to Influxdb via Telegraf to be displayed within Grafana.

Tested with Ubuntu 18.04.5 LTS, Telegraf 1.15.3, Grafana v7.2.1, Speedtest by Ookla 1.0.0.2

A sound understanding of TIG(Telegraf, Influxdb & Grafana) is assumed moving forward

HOWTO:

  1. Install the the official Ookla Speedtest CLI onto your system (select whichever version suits your particular requirements)
  2. Add the configuration into telegraf, either
    • store speedtest.conf under /etc/telegraf/telegraf.d/speedtest.conf
      * OR *
    • copy the config and add to your telegraf.conf
  3. Restart telegraf (e.g. under Ubuntu ~$ sudo systemctl restart telegraf.service)
  4. Import the provided json template into Grafana and setup the appropriate data source accordingly
  5. Select the appropriate host variable from the top left of the dashboard
  6. Happy trending!

p.s. be careful when setting the interval time, too often and you may risk being being blocked from utilising the service.

If you are having issues with Grafana and vendor/service provider logo's assuming you may need to follow the below link and make a minor modification to grafana.ini. https://grafana.com/docs/grafana/latest/administration/configuration/#disable_sanitize_html

Example Screenshot

About

Utilise the official Ookla Speedtest CLI to export results to Influxdb via Telegraf to be displayed within Grafana.

Resources

License

Stars

Watchers

Forks