N5MON is a lightweight, low overhead simple system monitor, maintenance tool for doing simple server monitoring as well as automated local backups and virus scans. It runs under PHP-CLI either from the command line or from cron.
It monitors diskspace, running processes and load averages. N5MON will attempt to restart services that are down or run any commands you specify. Alerts are sent through email when a problem is found. N5MON is easy to setup, and can monitor an unlimited number of processes. N5MON can also be configured to perform local backups of any number of specified directories, as well as dumps of all mysql databases. You can schedule your backups using cron for any frequency you wish. N5MON will can also be configured to purge backups after X number of days.
All in all this free solution is quick and easy and a must for any server admins toolbox.
This script is licensed under the GNU General Public License (GPL) version 2.
Requirements: PHP 5.4.x or newer, Curl, ClamAV (for virus scanning).