All Projects β†’ TristanBrotherton β†’ netcheck

TristanBrotherton / netcheck

Licence: Apache-2.0 license
A shell script to check and log when your internet connection goes down.

Programming Languages

shell
77523 projects
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to netcheck

speed-cloudflare-cli
πŸ“ˆ Measure the speed and consistency of your internet connection using speed.cloudflare.com
Stars: ✭ 99 (-28.26%)
Mutual labels:  ping, speedtest
pong
Basic uptime monitoring system, with email alerts and/or push notifications
Stars: ✭ 94 (-31.88%)
Mutual labels:  uptime-monitor, uptime
vultr-pingtest
⌚ Test Latency from all Vultr VPS Locations
Stars: ✭ 40 (-71.01%)
Mutual labels:  ping, speedtest
StatusPage
UptimeRobot ηŠΆζ€ι‘΅
Stars: ✭ 58 (-57.97%)
Mutual labels:  uptime-monitor, uptime
upmail
Email notification hook for https://github.com/sourcegraph/checkup.
Stars: ✭ 62 (-55.07%)
Mutual labels:  ping, uptime
uptime.js
Uptime monitor in Node.js that send status changes to Chatbots
Stars: ✭ 52 (-62.32%)
Mutual labels:  uptime-monitor, uptime
discord-uptime
Discord bot to monitor uptime of services using ping and http requests
Stars: ✭ 46 (-66.67%)
Mutual labels:  ping, uptime
apptime
⚑ Advanced FREE Website Monitoring Service. (Node.js & MongoDB) - Not lastest version of Apptime.
Stars: ✭ 3 (-97.83%)
Mutual labels:  uptime-monitor, uptime
upptime
⬆️ Free uptime monitor and status page powered by GitHub
Stars: ✭ 12,995 (+9316.67%)
Mutual labels:  uptime-monitor, uptime
connection checker
Android library for checking the internet connectivity of a device.
Stars: ✭ 26 (-81.16%)
Mutual labels:  internet-connection, ping
tmo-live-graph
A simpe react app that plots a live view of the T-Mobile Home Internet Nokia 5G Gateway signal stats, helpful for optimizing signal.
Stars: ✭ 15 (-89.13%)
Mutual labels:  isp, monitoring-tool
uptimey
Simple server uptime monitor
Stars: ✭ 43 (-68.84%)
Mutual labels:  uptime-monitor, uptime
speedtest-for-digitalocean
Run speed tests for all DigitalOcean datacenters faster than ever.
Stars: ✭ 40 (-71.01%)
Mutual labels:  ping, speedtest
uptime-bot
A Discord uptime bot which keeps repl.it links up forever!!
Stars: ✭ 14 (-89.86%)
Mutual labels:  ping, uptime
web-status-monitor
πŸ›Έ Ping websites at regular intervals using just GitHub Actions!
Stars: ✭ 17 (-87.68%)
Mutual labels:  uptime-monitor, monitoring-tool
uptime
GitHub Action to check the status of endpoints
Stars: ✭ 30 (-78.26%)
Mutual labels:  ping, uptime
speedInspectorRPI
A docker image with a cronjob running speedtest, audit your internet connection/ISP
Stars: ✭ 12 (-91.3%)
Mutual labels:  speedtest
leek
Celery Tasks Monitoring Tool
Stars: ✭ 77 (-44.2%)
Mutual labels:  monitoring-tool
IP2Location-C-Library
IP2Location C library enables the user to find the country, region, city, coordinates, zip code, time zone, ISP, domain name, connection type, area code, weather station code, weather station name, mobile, usage types, etc that any IP address or hostname originates from.
Stars: ✭ 37 (-73.19%)
Mutual labels:  isp
uptimer
Uptimer is an open-source project, and a free discord bot that allows you to make your projects online 24/7 just by using a single cmd.
Stars: ✭ 21 (-84.78%)
Mutual labels:  uptime

Netcheck

A shellscript to check and log when your internet connection goes down. Netcheck checks for internet connectivity and if its interupted, writes a log containing the time of disconnect, and length of time disconnected. Once it reconnects it will log the reconnected internet speed and continue monitoring again.

Netcheck also include an optional web interface for viewing your connection logs remotely from a web browser. You can use a service such as NGROK to allow you to see the web interface outside of your network.

Installation

git clone https://github.com/TristanBrotherton/netcheck.git
cd netcheck
chmod +x netcheck.sh
./netcheck.sh

CLI Interface

Netcheck CLI interface

Web Interface

Netcheck CLI interface

Options

netcheck.sh -h                                           Display this message
netcheck.sh -f path/my_log_file.log          Specify log file and path to use
netcheck.sh -s                                 Disable speedtest on reconnect
netcheck.sh -c                Check connection ever (n) seconds. Default is 5
netcheck.sh -u            URL/Host to check, default is http://www.google.com
netcheck.sh -w                                  Enable the remote webinteface
netcheck.sh -p                  Specify an optional port for the webinterface
netcheck.sh -i                           Install netcheck as a system service
netcheck.sh -d path/script            Specify script to execute on disconnect
netcheck.sh -r path/script             Specify script to execute on reconnect

Run as a service

You can optionally run netcheck as a system service. For systems that use systemctl (Linux) you may use its service installation script:

sudo ./netcheck.sh -i

Scripts for disconnect/reconnect events

You can optionally define actions to be executed upon disconnect or reconnect. To do so you may use the -d and -r options.

Two sample bash scripts making use of the espeak-ng text-to-speech utility are provided under the sample-scripts to showcase how these options can be used:

./netcheck.sh -d sample-scripts/disconnected.sh -r sample-scripts/reconnected.sh
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].