> On 12/6/06, Lucuk, Pete <pete.lucuk@xxxxxxx> 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx