Restarted dead daemons

"Ambrose" <ambrose-pj/[email protected]> Tue, 16 Dec 2003 16:26:39 -0800
Newsgroups gmane.linux.admin.managers
Message-ID <002a01c3c434$71106830$fe01a8c0@ambrose>
Hi

There are several daemons running on my Linux server. I want them to be
monitored, and if one dies or goes defunct, I need it to try and start back up
again.

For example, sometimes, mysql goes defunct, and using the control script in
/etc/init.d/ does not restart it (because the .pid file is empty as it is
"<defunct>") you manually have to use kill.

I have Nagios setup, but that only notifies me that something is down. It does
not try to restart it. Often, once I login, simply executing the control
script starts the daemon back up again. This doesn't happen very often, but
going away over the Christmas holiday I wont be able to login and start
something back up.

I'm looking for programs / scripts that will monitor specific daemons, and try
to restart them if they are dead.

Thanks for your time,

 - Jeremy Cohoe
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers