httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] Apache 2.2.3 monitor
Date Wed, 06 Dec 2006 17:52:05 GMT

> On 12/6/06, Lucuk, Pete <pete.lucuk@ngc.com> wrote:

> > I would like to setup something that would…
> >
> >         - test to see is Apache is up or down
> >
> >         - if Apache is up, do nothing
> >
> >         - if Apache is down, bring it back up ASAP

There's a monitor hook that runs every 10 seconds in the Apache
parent process.  If you write a monitor program, you can use
the monitor hook to ping it with your IPC mechanism of choice,
and have your program take action if time-since-last-ping
exceeds some threshold.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message