From 7509cf95b2d46bf681492462cfa77992ef64e776 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Fri, 3 Mar 2000 03:50:23 +0000 Subject: [PATCH] document update --- www/docs/spong_conf.html | 154 +++++++++++++++++++-------------------- 1 file changed, 77 insertions(+), 77 deletions(-) diff --git a/www/docs/spong_conf.html b/www/docs/spong_conf.html index 2d892a6..c1d7bbc 100755 --- a/www/docs/spong_conf.html +++ b/www/docs/spong_conf.html @@ -110,13 +110,12 @@ updates. This spong-server only provides partial Big Brother emulation at present. It will only understand status updates,
-$STATUS_HISTORY
- -
-This flag is used to enable status updates to keep in the History. If active, -any status update that generated a History event will be store with the -event.  This option can potentially generate a large amount of file -data. The file system then the $SPONGDB resides should have a large capacity.
+$SPONG_SERVER_ALARM +
+This is the maximum amount of time (in seconds) that Spong Client can stay +connected to the Spong Server status update ports. Set the value to '0' to +disable the timeout. +
$WWW_USE_IMAGES
@@ -177,18 +176,17 @@ staff. www-spong will generate "smart" links depending on the web page being displayed. for more information on this feature, please see the Administrator Guide. -
-$WWW_ACTIONBAR_CUSTOM
+
$WWW_ACTIONBAR_CUSTOM
-This parameter can be used to customize the Host/Service displays Action -Bar of the Web Interface. Any HTML code in this parameter will be included -on the Web Pages when they are displayed. This parameter is preprocessed -by -eval'ed before the contents is printed. Your can include complex +This parameter can be used to customize the Host/Service displays Action Bar +of the Web Interface. Any HTML code in this parameter will be included on +the Web Pages when they are displayed. This parameter is preprocessed by +eval'ed before the contents is printed. Your can include complex perl variables and simple Perl code in this parameter. NOTE: Use single -quoted to enclose the parameter contents to prevent premature expansion -of any perl variables defined.
+quoted to enclose the parameter contents to prevent premature expansion of +any perl variables defined. +
@WWW_REFRESH_ALLOW
@@ -197,7 +195,7 @@ of any perl variables defined. A list of Perl regular expressions that are checked against the REMOTE_ADDR, REMOTE_HOST and REMOTE_USER enviornmental CGI varables. If there is a match on any of these variables, www-spong will -attach a REFRESH meta tag to reload the web pages every $SPONGSLEEP +attach a REFRESH meta tag to reload the web pages every $SPONGSLEEP seconds. See the Administrator Guide for more details. @@ -215,37 +213,35 @@ Guide for more details.
 
-

-SPONG CLEANUP VARIABLES

+

SPONG CLEANUP VARIABLES
-
-$SPONG_ARCHIVE
+
$SPONG_ARCHIVE
-The directory where to put old history file entries for each host. Each -host have it's own file in this directory
+The directory where to put old history file entries for each host. Each host have it's own file in this directory + -
-$OLD_HISTORY
+
$OLD_HISTORY -
-This is the number of days of history to keep for each host in the spong-server -database. Any old history is append to the file for the host under the -$SPONG_ARCHIVE directory.>
+
This is the number of days of history to keep for each host in the +spong-server database. Any old history is append to the file for the host under +the $SPONG_ARCHIVE directory. +
-
-$OLD_SERVICE
+
$OLD_SERVICE -
-This is the number of days to retain stale service status (i.e. purple +
This is the number of days to retain stale service status (i.e. purple status) entries in the spong-server database. Any service service status -entries older than $OLD_SERVICE days old are deleted from the database.
+entries older than $OLD_SERVICE days old are deleted from the +database. + +

-SERVICE THRESHOLD VARIABLES

+SERVICE THRESHOLD VARIABLES

@@ -258,30 +254,31 @@ having ``:'' in this list will cause NFS file system mounts to be ignored.
 
-%DFWARN, %DFCRIT
+%DFWARN, %DFCRIT
-A hash of file systems (or the word ``ALL''), and the percentage that should -trigger a problem (%DFWARN triggers warnings - yellow, and %DFCRIT triggers -alerts - red). If a file system is not explicitly listed in this hash then -it will fall back to the value of the ``ALL'' entry.
+ A hash of file systems (or the word ``ALL''), and the percentage +that should trigger a problem (%DFWARN triggers warnings - yellow, +and %DFCRIT triggers alerts - red). If a file system is not explicitly +listed in this hash then it will fall back to the value of the ``ALL'' +entry.
 
-$CPUWARN, $CPUCRIT
+$CPUWARN, $CPUCRIT
-A number indicating the CPU load that triggers a problem ($CPUWARN triggers -warnings - yellow, and $CPUCRIT triggers alerts - red).
+ A number indicating the CPU load that triggers a problem ($CPUWARN +triggers warnings - yellow, and $CPUCRIT triggers alerts - red).
 
-@PROCSWARN, @PROCSCRIT
+@PROCSWARN, @PROCSCRIT
-A list of processes that should be running, if they are not running, then -trigger a problem (processes in @PROCSWARN trigger a warning - yellow, -and processes in @PROCSCRIT trigger an alert - red).
+ A list of processes that should be running, if they are not running, +then trigger a problem (processes in @PROCSWARN trigger a warning +- yellow, and processes in @PROCSCRIT trigger an alert - red).
 
@@ -289,45 +286,47 @@ and processes in @PROCSCRIT trigger an alert - red).
A list of hashes which defined checks to apply to log files. Each hash -contains the fields logfile which is the full path to the log file to check -and checks whch  is a list of check to apply to the log file. Each -check is a hash that contains the fields: pattern - a Perl regular expression -to be scanned for, status - the status color to reported lines matching -pattern, duration - the duration that each event is to be reported to the -server, text - the text to reported back in the detailed message field -of the status report (which can include match position variables from pattern) -and id - an optional key field to associated with each event generated.  -See the check_logs documentation for -more information and examples.
+contains the fields logfile which is the full path to the log file +to check and checks whch  is a list of check to apply to the +log file. Each check is a hash that contains the fields: pattern +- a Perl regular expression to be scanned for, status - the status +color to reported lines matching pattern, duration - the duration that +each event is to be reported to the server, text - the text to reported +back in the detailed message field of the status report (which can include +match position variables from pattern) and id - an optional +key field to associated with each event generated.  See the check_logs +documentation for more information and examples.
 
-%HTTPDOCS, %HTTPPORT
+%HTTPDOCS, %HTTPPORT
These variables provide some parameters when checking http based servers. -The %HTTPDOCS variable is keyed by host (or the string ``ALL'' for all -hosts), and contains as a value, a list of documents to check on that host. -The default setting is to search for the ``/robots.txt'' file on all hosts.
+The %HTTPDOCS variable is keyed by host (or the string ``ALL'' for +all hosts), and contains as a value, a list of documents to check on that +host. The default setting is to search for the ``/robots.txt'' file on +all hosts.
-The %HTTPPORT variable contains the port number that web server on a given -host is running on. By default the value is 80, but this can be overridden -on a host by host basis
+The %HTTPPORT variable contains the port number that web server +on a given host is running on. By default the value is 80, but this can +be overridden on a host by host basis
 
$SEND_MESSAGE
-$SEND_MESSAGE defines when spong-message is called by spong-server. This -variable can contain one of four valid values. If it is ``RED'', then spong-message +$SEND_MESSAGE defines when spong-message is called by spong-server. +This variable can contain one of four valid values. If it is ``RED'', then +spong-message is called for every time a system or service reports a problem. If its -value is ``CHANGE'', then spong-message is only called when there is a -change of state . If this values is "RED-CHANGE", then spong-message is -called  everytime a system of service reported a problem and when +value is ``CHANGE'', then spong-message is only called when there +is a change of state . If this values is "RED-CHANGE", then spong-message +is called  everytime a system of service reported a problem and when the condition is cleared. (going from green/yellow to red, and then again -going from red to green/yellow). If its value is ``NONE'', then spong-message +going from red to green/yellow). If its value is ``NONE'', then spong-message is never called.

  @@ -352,11 +351,12 @@ person in an hour. The default value is 3.

-OS SPECIFIC VARIABLES

+OS SPECIFIC VARIABLES
-$DF, $UPTIME, $PS, $GREP, $PING, $TRACEROUTE, $MAILQ
+$DF, $UPTIME, $PS, $GREP, $PING, $TRACEROUTE, +$MAILQ
These variables are OS specific variables, which are hopefully set correctly @@ -366,7 +366,7 @@ what OS you are running on, and what the correct value should be.

-FUNCTIONS

+FUNCTIONS DEPRECIATED:  spong-client checks are now modules. See Client Modules in the Developer Guide documentation. @@ -406,7 +406,7 @@ mail queue is not getting too large.

-FILES

+FILES
@@ -431,16 +431,16 @@ first, and then if it can not find it - it looks for the shorter name.

-SEE ALSO

+SEE ALSO the perl manpage , the spong-server manpage , the spong-network manpage , the spong-client manpage , the spong-display manpage , the spong-message manpage , spong.hosts


-AUTHOR

+AUTHOR Ed Hill (ed-hill@uiowa.edu), Unix -System Administrator, The University of Iowa< +System Administrator, The University of Iowa
Stephen L Johnson (stephen.johnson@mail.state.ar.us) or (sjohnson@monsters.org), Unix System Administator, DIS - State of Arkansas

Based on code/ideas from Sean MacGuire (BB), and Helen Harrison (Pong). -- 2.30.2