README readme.txt 20101009
loadmonitor scripts
copyright:
Copyright 2010:
NoBaloney Internet Services
P.O. Box 52200
Riverside, CA 92517 USA
License:
Free software covered under the GNU General Public License, Version 2,
June 1991.
Generally that means you can modify the software any way you wish,
and distribute it, either free or otherwise, as long as you always
make the source-code available at no charge and include either a copy
of the GNU General Public License, Version 2, or a link thereto.
For full details of the GNU General Public License, see the
downloadable copy at:
/downloads
Description:
httpd.load.sh
Script to check the 1-minute server load. If it goes over 5, it restarts
httpd and sends an email.
You can modify it to change the target serverload and set a warning server
load.
Support:
There's no support this script. It's free. No Guarantees.
You break it, you fix it.
Notes:
This script has been written for and tested on CentOS3. It will probably
work on any system running a standard sh interpreter or bash interprter.
This script is generally self-explanatory. It's simple. It requires
root access to run and will send the email as "[email protected]".
CAUTION:
This script uses quotes that probably won't cut-and-paste properly; you
should probably download this script rather than cut-and-paste it.