This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Oct 22 08:12:03 -0700 2009 | |
| |
Capfile | Thu Oct 15 08:16:13 -0700 2009 | |
| |
LICENSE | Tue Oct 13 11:49:54 -0700 2009 | |
| |
README.md | Mon Oct 26 09:20:45 -0700 2009 | |
| |
Rakefile | Thu Oct 22 08:12:03 -0700 2009 | |
| |
Thorfile | Thu Oct 22 11:12:23 -0700 2009 | |
| |
app/ | Mon Oct 26 11:27:05 -0700 2009 | |
| |
config.ru | Tue Oct 13 11:48:41 -0700 2009 | |
| |
config/ | Mon Oct 26 10:26:05 -0700 2009 | |
| |
db/ | Fri Oct 23 12:23:48 -0700 2009 | |
| |
dependencies | Thu Oct 22 10:53:14 -0700 2009 | |
| |
init.rb | Mon Oct 26 10:21:15 -0700 2009 | |
| |
log/ | Thu Oct 22 13:38:12 -0700 2009 | |
| |
monitrc/ | Wed Oct 14 21:33:29 -0700 2009 | |
| |
public/ | Thu Oct 22 16:43:11 -0700 2009 | |
| |
script/ | Tue Oct 13 11:48:41 -0700 2009 | |
| |
tasks/ | Thu Oct 22 08:12:03 -0700 2009 | |
| |
test/ | Fri Oct 23 08:43:09 -0700 2009 | |
| |
vendor/ | Thu Oct 22 10:53:14 -0700 2009 |
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
- Copy config/database.example.yml to config/database.yml and fill in the correct settings
- Copy config/settings.example.yml to config/settings.yml and fill in the correct settings
- Copy config/deploy.example.rb to config/deploy.rb and make the necessary changes
Add this line to your monit control file:
include /path/to/watch-dog/monitrc/**/*.monitrc
Copyright (c) 2009 Viget Labs. See LICENSE for details.







