WorldLink Auto Ticket Reporter
This program conducts speedtest with provided speedtest.net servers and creates a ticket with WorldLink Communications if the internet speed is below the specified threshold.
The program uses python 3.
sudo apt-get install python3
You will need to install
Install through pip
sudo pip install speedtest-cli
Install through Ubuntu package manager
sudo apt-get install speedtest-cli
You will also need
requests package for python3
sudo pip install requests
Sometimes the pip executable is named differently. You can find the executable name using
ls /usr/bin | grep ^pip
Clone this repository
git clone https://github.com/nikhil-pandey/worldlink-ticket
- Change the variables
serversaccording to your needs.
messageto replace with actual speed.
- Optionally change the
serversto the server ids from Speedtest.net Servers. You can use as many as you want to calculate an average speed.
- Give proper permissions to
chmod +x main.pyshould be enough.
- Set a cron job every hour(s)/day(s) according to your choice to run the program
Note: If you are on a volume based plan, running this might finish some of your data.
Yes i know i write terrible code in Python because i am not a Python developer.
If you think you can make the code better or contribute to the project, then feel free to fork the repository, make changes and submit a pull request.
This package is open-sourced software licensed under the MIT license