Restart Failing Services Automatically

audrey

Well-Known Member
Oct 18, 2006
114
5
168
Hi

Is there a script for cron or a place in the whm that will check to see if a service is running
and if it is not running to have it automatically restart it?

I know that the service monitor can be set to monitor services - but- it doesn't check often enough

I have seen the emails that cpanel sends out saying about automagically trying to restart a service -
but - that doesn't monitor the services oftenenough to prevent the CPU load from going sky high very quickly.

I need to have mysql monitored every minute and automatically restart as soon no response from mysql

Thanks
Audrey