Apache::HealthCheckChecks a set of URLs for conditions and puts up whatever page you want | |
Download |
Apache::HealthCheck Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Michael Gregorowicz
- Publisher web site:
- http://search.cpan.org/~mgregoro/
Apache::HealthCheck Tags
Apache::HealthCheck Description
Checks a set of URLs for conditions and puts up whatever page you want Apache::HealthCheck is a Perl module that checks a set of URLs for conditions and puts up whatever page you want.SYNOPSIS < Location /health-check/ > SetHander perl-script PerlModule Apache::HealthCheck PerlHandler Apache::HealthCheck PerlAddVar CheckURL "http://appserver1.example.com/ 404" PerlAddVar CheckURL "http://appserver1.example.com:8085/ 302" PerlAddVar CheckURL "http://component1.example.com:4424/ 403" PerlSetVar ReturnCodeSuccess 403 PerlSetVar ReturnCodeFail 500 < /Location >Checks a list of urls for specific return codes and then returns a code / header / page of it's own. This is useful for web server clusters where you might have a switch or a web server performing periodic health checks on an application. This module allows you to harness the checks of all the urls (web services) a specific node might have in one easy to "check" URL.If any of the URLs specified in the CheckURL directives fails to return the specified return code, the attempt is treated as failed, otherwise its treated as a success. Requirements: · Perl
Apache::HealthCheck Related Software