jump to navigation

Scrape mongrel status from Apache’s mod_proxy_balancer January 4, 2008

Posted by John Dewey in Apache, Capistrano, Code, Command Line, Configuration, Example, Rails, Rake, WebServers.
trackback

Access to Apache’s load balancer manager (mod_proxy_balancer) is typically protected.  Rather than maintaining an ever changing list of ACLs or configuring HTTP authentication, I wrote a simple scraper Rake task.

This task is bundled with all of our rails applications as a svn external, and included in our common Capistrano tasks.This task is a quick and dirty solution to checking the status of your Mongrels.

Feel free to modify, and provide a pastie.http://pastie.caboo.se/135223

P.S. The SAs can plug this into their monitoring software as well.

Comments»

1. [client 88.112.10.183] File does not exist: /srv/www/htdocs/scrape | keyongtech - January 18, 2009

[...] Might you be running jakarta ?? Or maybe Apache load balancer ?? Here’s something related: http://geminstallthat.wordpress.com/…ancer-manager/ Just guessing though. Maybe these will give you a [...]