EPIPE Communications

#define EPIPE 32 /* Broken pipe */

dist.epipe.com (up) (root)


/downtimed/


System downtime monitoring and reporting tool

Why is it so easy to find out the server uptime, but so difficult to figure out the downtime?

downtimed is a program for monitoring operating system downtime, uptime, shutdowns and crashes and for keeping record of such events.

downtimed(8) is a daemon process which is intended to be started automatically from system boot scripts every time when the operating system of a server starts. First the daemon logs its findings about the previous downtime to a specified logging destination as well as in a database file which can be displayed with downtimes(1) command.

Thereafter the downtimed(8) daemon just keeps waiting in the background and periodically updates a time stamp file on the disk. The time stamp is used to determine the approximate time when the system was last up and running. In case of a graceful system shutdown it records a stamp to another file on the disk. These files are used for reporting the next time the daemon starts.

downtimes(1) is a command-line tool which can be used to inspect previous downtime records recorded in the downtime database file.

This sofware works currently on recent FreeBSD, NetBSD, OpenBSD, GNU/Linux, Mac OS X and Solaris based operating system distributions. It can be ported to other modern UNIX-like operating systems relatively easily. The software is available under Simplified BSD license.

Please see the included README file for more information.



NameLast modifiedSizeDescription
NEWS29-May-2011 05:10 3.2Kversion history
README08-Mar-2011 09:17 7.8Kdowntimed README document
downtimed-0.1.tar.bz222-May-2010 04:37 72Kdowntimed distribution (bzip2 compression)
downtimed-0.1.tar.gz22-May-2010 04:38 88Kdowntimed distribution (gzip compression)
downtimed-0.2.tar.gz22-Sep-2010 14:40 95Kdowntimed distribution (gzip compression)
downtimed-0.2.tar.xz22-Sep-2010 14:40 72Kdowntimed distribution (xz compression)
downtimed-0.3.tar.gz26-Oct-2010 08:43 95Kdowntimed distribution (gzip compression)
downtimed-0.3.tar.xz26-Oct-2010 08:43 73Kdowntimed distribution (xz compression)
downtimed-0.4.tar.gz25-Dec-2010 02:44 97Kdowntimed distribution (gzip compression)
downtimed-0.4.tar.xz25-Dec-2010 02:44 74Kdowntimed distribution (xz compression)
downtimed-0.5-manual.pdf02-Mar-2011 10:39 8.1Kdowntimed(8) manual page as PDF
downtimed-0.5.tar.gz02-Mar-2011 10:36 104Kdowntimed distribution (gzip compression)
downtimed-0.5.tar.xz02-Mar-2011 10:36 79Kdowntimed distribution (xz compression)
downtimed-screenshot-1.png22-Sep-2010 17:02 24Kdowntimed screenshot
downtimes-0.5-manual.pdf02-Mar-2011 10:39 6.0Kdowntimes(1) manual page as PDF

News and updates since last version

New versions

If you wish to receive a notification whenever a new version of this software is released, you may wish to subscribe at the project's Freshmeat page. There is also a page which contains a brief summary of changes in each version.

A more detailed list of changes in each version is available in the NEWS file included in the distribution.

A detailed view of every change in the development tree is available at the downtimed Bazaar repository at Launchpad.

Articles

Ports and binary packages

The following operating system and distribution specific ports and packages are available. Consider using one of them if one exists already for your operating system and distribution. Using a tailored port/package makes installation and upgrading easy.

  • downtimed is included in Ubuntu starting from 11.10 (Oneiric Ocelot) in the universe repository. The package can be installed in the usual way:
    sudo apt-get install downtimed
    It probably works fine on some older Ubuntu releases as well.
  • Pre-built binary packages for Ubuntu 10.04 LTS (lucid), Ubuntu 10.10 (maverick) and Ubuntu 11.04 (natty) are available at Launchpad PPA. You can install the package as follows:
    sudo add-apt-repository ppa:snabb/downtimed
    sudo apt-get update
    sudo apt-get install downtimed
    
  • Ubuntu packaging source (for using with debuild) is available:
    bzr branch lp:~snabb/downtimed/ubuntu
    
  • FreeBSD port is available in /usr/ports/sysutils/downtimed/. It is also available through Bazaar:
    bzr branch lp:~snabb/downtimed/freebsd
    
  • OpenBSD port is available.
  • GNU/Debian package is available (currently only in sid/unstable and wheezy/testing distributions but the package works fine with 6.0 squeeze).
  • Arch Linux package is available at AUR.

Development version

  • The development version of this software is available at Launchpad. You can get your own branch of the development source tree with Bazaar VCS with the following command:
    bzr branch lp:downtimed