SERVSTAT.PL README

This is a simple script that will produce HTML output that will display
a color coded server status page. The items included in the status are
connection count, load average and uptime of the server.

USING SERVSTAT.PL
Edit the SERVSTAT.CFG file and enter in all the DNS names or IP addresses
of your servers you wish to monitor. You may also wish to edit the
SERVSTAT.HDR or SERVSTAT.FTR files.  The SERVSTAT.HDR file contains all the
text that will bi included before the server status table and the SERVSTAT.FTR
file will contain anything you wish to have after the file.


Then execute SERVSTAT.PL and pipe the output to your desired location. For
example, if you want the output to go to the SERVERSTATUS.HTML file use:
   SERVSTAT.PL > SERVERSTATUS.HTML

Should you desire to use the script as a cgi-bin on a web server, be sure to
modify the SERVSTAT.HDR file and add the following line to the top of the
file, followed by at least 1 blank line:
   Content-Type: text/html

The downside with using this script as a cgi-bin is should a server be down
when the page is requested, it will take a fair amount of time for the page
to be generated.

