> On 12/6/06, Lucuk, Pete <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to