f

February 21, 2016

Internet Downtime Logger [Linux / Bash]


Current Version = v2.3.4

Internet Downtime Logger is a terminal application that accurately logs time spent without internet connectivity to a file with timestamps, it also adds up and logs the previous daily and monthly downtimes. Internet Downtime Logger includes email functionality enabling you get automated notifications and will even attach the log file. There are many settings and options to configure allowing you to enable / disable features and reconfigure Internet Downtime Logger to meet your needs. You can do things like: Set different to-email addresses for each of the notification types, disable some or all of the notification types, change log file location, configure server settings, and more!
I have used Internet Downtime Logger in the past to notify my ISP and get a refund for the amount of time spent each month with out an internet connection. This is also a useful tool to keep an eye on the uptime of a remote server/device. Internet Downtime Logger is designed to run on Debian based systems but can also run on wide variety of UNIX-like operating systems including most Linux distributions, Mac OSX, and even iOS provided you have all the dependencies installed. You may have to force install the deb on other systems which use different package names to get around the dependency check.

Download Internet Downtime Logger


Usage:
Download the .deb and install it, run Internet Downtime Logger with the following command.
internet-downtime-logger

You will then be asked to configure Internet Downtime Logger for the first time if you do not already have a config file. You can restart the setup at any time by running the following command.
internet-downtime-logger-config

You may run Internet Downtime Logger automatically at startup, it will not count loss of power as internet downtime.


The Code: 
I make the code for internet-downtime-logger available on GitHub here:


Internet Downtime Logger GitHub Repository
  1. Which mailx are you using in this script? I errors since it doesn't recognize -v and -S. Thanks

    ReplyDelete
    Replies
    1. I think I've figured out I need to install Heirloom mailx in order for this script to work on Raspbian stretch.

      Delete

Comments are encouraged, but before commenting, please read 'readme.txt' first.


Home readme.txt The Archive