GitXplorerGitXplorer
t

network-monitor

public
0 stars
0 forks
1 issues

Commits

List of commits on branch master.
Unverified
163d81e4af599e49fe9bd8864a3fe430b6506d5c

Improve network downtipe reporting

ttterb committed 7 years ago
Unverified
fba6e0e9395f5ed7ef5de8b0bf1ed3748af5bc21

Improve network graph formatting

ttterb committed 7 years ago
Unverified
1b402db1e5ca0e9a8ebbe14916d2c25fefe839b7

Update requirements.txt

ttterb committed 7 years ago
Unverified
410b3a8f1d16351e27bf2ce8e64186c5ddfe0937

Improve network downtime reporting

ttterb committed 7 years ago
Unverified
4771bbc36a6a4077c74319718288ef7bbedd5d0f

Improve network graph formatting

ttterb committed 7 years ago
Unverified
0774f42bdbc0c34ec4bce6d9ff7d104254474307

Update README.md

ttterb committed 7 years ago

README

The README file for this repository.

Everyone knows the frustration of not recieving the network performance advertised by your ISP. In response, this program aims to provide you with the data necessary to hold your ISP accountable for network downtimes and low performance. In addition, this program can also inform you of when your network goes down, which you can potentially be credited for depending on your ISP.

Install

If Python 3 is already installed, the program dependencies can be installed using the following command:

pip install -r requirements.txt

Usage

The program can be used with optional arguments, as shown below:

python network_monitor.py [args]

optional arguments:
  -h, --help    show this help message and exit
  -c, --config  set the target download and upload speeds (mbps)
  -q, --quiet   logs network speed without output
  -g, --graph   displays a graph of data speeds for the last 30 days
  -r, --report  sends an email with a report of your network data speeds for
                the last 30 days

Setup

For the most beneficial results, you should initially execute the program with the --config argument to set your target network upload and download speeds, as well as the email that will be used to contact you of network downtime. Additionally, if you'd like to setup the program to run on a schedule, you can do this on UNIX-based systems by creating a cron job with the following command:

# Open your cron configuration file
crontab -e

# Schedules the program to run once an hour
0 * * * * cd /path_to_directory/ && python network_monitor.py -q

# Schedules a monthly report to be sent via email
0 0 1 * * cd /path_to_directory/ && python network_monitor.py -q -r