Its a process/server babysitter that will manage, monitor and restart processes as needed to keep things running. Alerting has been configured to not be too annoying, else the logging will enough information to go back later and retrace steps.
I use this on my cpanel server – processes die and need restart occasionally, but I have been using a variation of this for 3 years now. Some wheels were re-invented along the way – but I am learning OO perl and this is something I’ve meant to re-write since 2007 properly.. This is much closer to what I envisioned.
Install steps: all done in the config file – see INSTALL in zip file
0. Configure what processes to run
1. How/when to check, stop/start/restart and frequency
2. When NOT to check – like NOT restart apache when yum is running
3. How often to send email/text via email alerts..
servercheck.pl -h to see the help for the modules. See
README for info..
This was tested on cpanel and direct admin servers – will work with any *nix that has perl installed and with tweaking of course.
Expect about 1/2 hour to configure the first machine. A cpanel and direct admin were
different enough it took 20 minutes to configure the direct admin machine…