From a0eec0f491801ece50cffbd917e2401a972eefe4 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Mon, 15 May 2000 03:28:30 +0000 Subject: [PATCH] Correcting spelling errors. --- src/spong-client.pl | 37 +++--- src/spong-message.pl | 281 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 300 insertions(+), 18 deletions(-) diff --git a/src/spong-client.pl b/src/spong-client.pl index 8a168aa..c5fac20 100755 --- a/src/spong-client.pl +++ b/src/spong-client.pl @@ -326,10 +326,13 @@ df output, or a listing of the top 10 processes sorted by CPU. =head2 Running the program You should start this program in your system startup file, and it should be -running constantly. If you provide the B<--debug> I flag, then debugging -information will be printed to stdout, otherwise output will only be produced -if there is a problem. Where I is a number from 1 - 9. A higher number means -more verbosity in the debugging output. +running constantly. If no parameters are specified, B forks +and detaches itself to run as a daemon. + +If you provide the B<--debug> I flag, then debugging information will be +printed to stdout, otherwise output will only be produced if there is a +problem. Where I is a number from 1 - 9. A higher number means more +verbosity in the debugging output. If you provide the B<--restart> flag, a signal will be sent to the spong-client process that is currently running that will cause it to reload it's @@ -343,10 +346,10 @@ module. =head2 Configuration Files -By default this reads the L file on startup. You can specify an -alternate config file via a command line option and it will read that file -instead. If you change values in the configuration file you will need to -restart this program for those changes to be re-read. +By default this reads the L file on startup. You can +specify an alternate config file via a command line option and it will read +that file instead. If you change values in the configuration file you will need +to restart this program for those changes to be re-read. After reading the configuration file that you specify (or the default), it then reads the F file where [hostname] is the @@ -466,13 +469,13 @@ me know what OS you are running on, and what the correct value should be. =head2 Client Checks The checks are actually a set of modules that are called in series by -spong-client. The list of modules to run are defined in the I<$CHECKS> +B. The list of modules to run are defined in the I<$CHECKS> configuration variable. Upon initialization, B will load the modules defined in I<$CHECKS> from the F directory. As each modules is initialized, it registers itself with the the -plugins registery (see the L. Spong comes with -a standard set of client checks, see L for -a more information. +plugins registery (see the L). Spong comes +with a standard set of client checks, see L for more +information. =head2 Extending Functionality @@ -488,7 +491,7 @@ what you have found to the spong server. =head1 FILES -F, F +F, F =head1 EXAMPLES @@ -506,12 +509,12 @@ None know bugs. =head1 SEE ALSO -L, F, F, L, -L +L, F, F, L =head1 AUTHOR -Ed Hill >, Unix System Administrator, The University of Iowa +Ed Hill >, Unix System Administrator, The University of +Iowa Stephen L Johnson > @@ -520,5 +523,5 @@ Stephen L Johnson > Based on code/ideas from Sean MacGuire (BB), and Helen Harrison (Pong). Ed Hill original converted Big Brother (http://www.bb4.com) into Perl which diverged from Big Brother to become Spong. Ed Hill continued Spong develop until version -2.1. Stephen L Johnson tool over development in October, 1999 with his changes +2.1. Stephen L Johnson took over development in October, 1999 with his changes which became Spong 2.5. diff --git a/src/spong-message.pl b/src/spong-message.pl index 1dd253a..a42518c 100755 --- a/src/spong-message.pl +++ b/src/spong-message.pl @@ -1,4 +1,25 @@ #!@@PERL@@ + +=head1 NAME + +B - send out alerts when there is a problem + +=head1 SYNOPSIS + +B [B<--debug>] I I I I