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 | |
|---|---|---|---|
| |
MIT-LICENSE | Sat Feb 02 13:02:20 -0800 2008 | [atmos] |
| |
README | Sat Feb 02 13:31:11 -0800 2008 | [atmos] |
| |
Rakefile | Sat Feb 02 13:02:20 -0800 2008 | [atmos] |
| |
init.rb | Sat Feb 02 13:24:38 -0800 2008 | [atmos] |
| |
install.rb | Sat Feb 02 13:02:20 -0800 2008 | [atmos] |
| |
lib/ | Tue May 06 00:33:09 -0700 2008 | [atmos] |
| |
tasks/ | Sat Feb 02 13:02:20 -0800 2008 | [atmos] |
| |
test/ | Tue May 06 00:35:53 -0700 2008 | [atmos] |
| |
uninstall.rb | Sat Feb 02 13:02:20 -0800 2008 | [atmos] |
README
FitterHappier ============= This is an insanely silly plugin given its simplicity, but I keep telling EY customers the same thing over and over. This is a plugin you install that provides a controller that's perfect for monitoring mongrel availability. A lot of people would give us their landing page and that blocks mongrels longer than needed. This disables sessions, layouts, and logging while rendering a simple string you can checksum against. Installation ============ % cd vendor/plugins % git clone git@github.com:atmos/fitter_happier.git Examples ======== Monit ===== You can do simple checks with monit like this: if failed host 127.0.0.1 port 5000 protocol HTTP request /fitter_happier with checksum 6684951cdf1757cc708898b4ee3526c4 then restart Keepalived/LVS ============== You can also do this in a keepalived/LVS setup: virtual_server 169.254.y.z 80 { delay_loop 15 lb_algo lc lb_kind NAT nat_mask 255.255.255.0 persistence_timeout 0 protocol TCP sorry_server 127.0.0.1 80 virtualhost www.myfacetube.com real_server 10.0.1.34 80 { weight 1 HTTP_GET { url { path /fitter_happier status_code 200 } connect_port 80 connect_timeout 5 nb_get_retry 20 delay_before_retry 2 } } real_server 10.0.1.35 80 { weight 1 HTTP_GET { url { path /fitter_happier status_code 200 } connect_port 80 connect_timeout 5 nb_get_retry 20 delay_before_retry 2 } } } Copyright (c) 2008 atmos, released under the MIT license




