Giter VIP home page Giter VIP logo

automated-speedtests's Introduction

Hi there ๐Ÿ‘‹

Software Engineer @ Goldman Sachs
Interested in serverless, golang and rust

automated-speedtests's People

Contributors

brianjking avatar meowimacow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

automated-speedtests's Issues

Improvements

I'd like to create a checklist for more things that can be added/improved about this.
If you have any suggestions please add them here.

  • Enable/disable tweeting
  • More than two tweet thresholds
  • Downtime
  • Custom hostname for pingTest() in config
  • Fix issue that tweet always uses highest threshold, therefore lower threshold messages never get tweeted
  • Pushbullet integration
  • Tweet for downtime
  • Email notifications

Collaborator Access for Wiki Pages

Hi,

I'd like to provide a wiki page for using this with NGINX as that's my preferred service and it's definitely super lightweight for use on a device such as a RaspberryPi, which is where I'm hosting my instance of your speedtest script at.

Can you add me as a collaborator on your project?

Thanks!

Speed parsing truncates decimal values

If the speed is 100 Mbps or greater, the decimal values are truncated due to the static string splicing.

I've made this my personal version which is dynamic:
first_space = lines[0].find(' ') + 1
p = lines[0][first_space:lines[0].find(' ',first_space)]
first_space = lines[1].find(' ') + 1
d = lines[1][first_space:lines[0].find(' ',first_space)]
first_space = lines[2].find(' ') + 1
u = lines[2][first_space:lines[0].find(' ',first_space)]

ppa:fkrull/deadsnakes pre-requisites on OS X?

Python 3.5 - add-apt-repository ppa:fkrull/deadsnakes, apt-get update, apt-get install python3.5

What is this module used for and is there a way to install it that you know of outside of apt-get for running it on OS X?

Thanks!

systemd conf in wiki is invalid

Using the service file provided in the wiki did not allow the service to start, even though starting it manually ( in screen or otherwise ) worked perfectly fine. It was giving the following error:

Aug 31 10:33:27 host python3[2559]: Traceback (most recent call last):
Aug 31 10:33:27 host python3[2559]: File "/path/to/automated-speedtests/automated-speedtests.py", line 29, in <module>
Aug 31 10:33:27 host python3[2559]: with open('config.json', 'r') as f:
Aug 31 10:33:27 host python3[2559]: FileNotFoundError: [Errno 2] No such file or directory: 'config.json'
Aug 31 10:33:27 host systemd[1]: speedtest.service: main process exited, code=exited, status=1/FAILURE
Aug 31 10:33:27 host systemd[1]: Unit speedtest.service entered failed state.
Aug 31 10:33:27 host systemd[1]: speedtest.service failed.

To correct this, I had to modify the automated-speedtests.py to have the full path to config.json:

with open('/path/to/automated-speedtests/config.json', 'r') as f:
        config = json.load(f)

Once that was done, the service was able to start without issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.