I run the speedtest from <https://pypi.python.org/pypi/speedtest-cli/> quite often, and find it very reliable. I'm wondering if anyone has developed a version to run the speed test at regular intervals, say every 6 hours, and record the results in a simple database or just a file? I imagine it would be a fairly easy task to modify the Python code to do this, but it would be even easier if someone has already done it! -- Timothy Murphy gayleard /at/ eircom.net School of Mathematics, Trinity College, Dublin
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17/09/15 13:05, Timothy Murphy wrote:> I run the speedtest from > <https://pypi.python.org/pypi/speedtest-cli/> quite often, and find > it very reliable. > > I'm wondering if anyone has developed a version to run the speed > test at regular intervals, say every 6 hours, and record the > results in a simple database or just a file? > > I imagine it would be a fairly easy task to modify the Python code > to do this, but it would be even easier if someone has already done > it! >I like speedtest-cli, and use it (through crontab) with speedtest-cli - --simple then parse the output. - From that point you can put it everywhere you want (file, db, zabbix-sender, etc) Cheers, - -- Fabian Arrotin The CentOS Project | http://www.centos.org gpg key: 56BEC54E | twitter: @arrfab -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlX6po4ACgkQnVkHo1a+xU66TACeMwD5mi2gC/EtOUC82SfLKryd MI8AnRzlva3bT+hqUQlMJqY1WdSI05Q5 =xvOz -----END PGP SIGNATURE-----
Fabian Arrotin wrote:>> I'm wondering if anyone has developed a version to run the speed >> test at regular intervals, say every 6 hours, and record the >> results in a simple database or just a file?> I like speedtest-cli, and use it (through crontab) with speedtest-cli > - --simple then parse the output. > - From that point you can put it everywhere you want (file, db, > zabbix-sender, etc)Thanks for your response. I'm sure that is the simplest thing to do. I hadn't noticed that /usr/bin/speedtest calls speedtest-cli to do the work. -- Timothy Murphy gayleard /at/ eircom.net School of Mathematics, Trinity College, Dublin