public
Description: Monit + Sinatra + Monk + SQLite + Mustache = multi-site dowtime alert app
Homepage:
Clone URL: git://github.com/vigetlabs/watch-dog.git
name age message
file .gitignore Thu Oct 22 08:12:03 -0700 2009 Database migrations [dce]
file Capfile Thu Oct 15 08:16:13 -0700 2009 Fix capfile [brianjlandau]
file LICENSE Tue Oct 13 11:49:54 -0700 2009 Add readme and license files [brianjlandau]
file README.md Mon Oct 26 09:20:45 -0700 2009 Fix readme code styling. [brianjlandau]
file Rakefile Thu Oct 22 08:12:03 -0700 2009 Database migrations [dce]
file Thorfile Thu Oct 22 11:12:23 -0700 2009 Loading DB schema into test before running [dce]
directory app/ Mon Oct 26 11:27:05 -0700 2009 Allow for multiple email addresses. [brianjlandau]
file config.ru Tue Oct 13 11:48:41 -0700 2009 Initial commit [brianjlandau]
directory config/ Mon Oct 26 10:26:05 -0700 2009 Updated restart recipe to work w/ passenger [dce]
directory db/ Fri Oct 23 12:23:48 -0700 2009 Removed site status field [dce]
file dependencies Thu Oct 22 10:53:14 -0700 2009 All tests passing, using factory_girl, silencin... [dce]
file init.rb Mon Oct 26 10:21:15 -0700 2009 Fixed dependencies require path [dce]
directory log/ Thu Oct 22 13:38:12 -0700 2009 add .gitignore so log directory exists on clone [crnixon]
directory monitrc/ Wed Oct 14 21:33:29 -0700 2009 store the monitrc files in different directorie... [brianjlandau]
directory public/ Thu Oct 22 16:43:11 -0700 2009 added a ridiculous dog picture and also some Sass [crnixon]
directory script/ Tue Oct 13 11:48:41 -0700 2009 Initial commit [brianjlandau]
directory tasks/ Thu Oct 22 08:12:03 -0700 2009 Database migrations [dce]
directory test/ Fri Oct 23 08:43:09 -0700 2009 Moved Monit reloading into its own module [crnixon]
directory vendor/ Thu Oct 22 10:53:14 -0700 2009 All tests passing, using factory_girl, silencin... [dce]
README.md

Watch-Dog

This is small Sinatra app for managing a set of monit checks on remote web sites.

It allows you specify the URL you want to monitor, text that should be on the page, how many failure cycles are required for to report as the site being down, and an email address to send the alert to.

There is a very basic web interface that allows to to create and edit which sites you're monitoring and reports on the status of the sites you're monitoring.

Requirements

Setup

  1. Copy config/database.example.yml to config/database.yml and fill in the correct settings
  2. Copy config/settings.example.yml to config/settings.yml and fill in the correct settings
  3. Copy config/deploy.example.rb to config/deploy.rb and make the necessary changes
  4. Add this line to your monit control file:

    include /path/to/watch-dog/monitrc/**/*.monitrc

Copyright (c) 2009 Viget Labs. See LICENSE for details.