On Sun, 2004-09-12 at 23:26, zcat wrote:
> netsaint. init won't do much when something like mysqld gets wedged and
> stops respoding. Partly because mysqld hasn't actually exited, and
> partly because init doesn't spawn mysqld.. but netsaint will check
> things like mysqld periodically and take some action when it stops
> responding. Usually it'll mail an admin, but you can configure it to
> bounce mysqld.
Netsaint no longer exists due to trademark or copyright problems (or
something like that). The project was renamed to nagios and can now be
found at http://www.nagios.org/.
Nagios works really well for monitoring network and host health, but it
is quite time consuming and complex to setup and tune to your particular
environment. I probably wouldn't recommend it for monitoring /
restarting a single service - the overhead just simply isn't worth it,
write a simple shell script! However if you have a more complex
environment with service dependencies, or services on several servers
that you need to monitor then nagios can come in extremely handy.
HTH.
Regards