RE: Monitoring and Notification of Failed Services

2003-06-05 Thread Christopher Lyon
Thanks all for your input. Monit looks like it is the way to go for my needs. -Original Message- From: Mark Foster [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 1:45 PM To: [EMAIL PROTECTED] Subject: Re: Monitoring and Notification of Failed Services I recommend

Re: Monitoring and Notification of Failed Services

2003-06-05 Thread Ziaur Rahman
The following simple bash script may help: #!/bin/bash if [ `ps -ax |grep httpd |grep -v grep |wc -l` -lt 1 ] then echo HTTPD server dead. Restarting HTTPD at `date`... /etc/init.d/httpd restart echo HTTPD Server Started at `date`... fi Just replace the httpd with your

Re: Monitoring and Notification of Failed Services

2003-06-05 Thread Mike Burger
On Wed, 4 Jun 2003, Christopher Lyon wrote: I have been having some problems with some of the services running on Redhat 8.0. I will do a service name start and the service will run for a while but during the night it will fail. I have fixed the problem with that service but I want to be

Re: Monitoring and Notification of Failed Services

2003-06-05 Thread Mark Foster
I recommend monit. http://www.tildeslash.com/monit/ -mark On Wed, 2003-06-04 at 12:38, Mike Burger wrote: On Wed, 4 Jun 2003, Christopher Lyon wrote: I have been having some problems with some of the services running on Redhat 8.0. I will do a service name start and the service will run