The variables are grouped by the spong programs. Each section will list the
variables that are used in the program along with the meaning of the
variable to the program.
- $WWW_USE_IMAGES
- The variable controls how services status colors are displayed on the web
displays. If set to 1, service status colors are represented by colored icons.
Otherwise the colors are represented by blocks of color.
The default value is 0. If $WWW_USE_IMAGES is set, the the section on $WWWGIFS elsewhere in this document
variable must set to the location of the images directory.
- $WWWGIFS
- When the section on $WWW_USE_IMAGES elsewhere in this document is set to 1, this variable should be
set to the URL path of the
www/gifs
directory within the document tree of
the web server.
The typical setup is to alias the /www
directory of your installation to a
location in your document tree, for example alias /spong/
/usr/local/spong/www/
. Then set $WWWGIFS to /spong/gifs
.
- $WWWDOCS
- This is the URL path of the
www/docs
directory of within the document tree
of the web server.
The typical setup is to alias the /www
directory of your installation to a
location in your document tree, for example alias /spong/
/usr/local/spong/www/
. Then set $WWWDOCS to /spong/docs
.
- $WWWHTML
- This should be the full path name to the
www/html
directory of your
Spong installation.
- $WWWSPONG
- This should be the URL path to the location of the the www-spong manpage CGI program
with your web server's document tree.
- $WWW_ACTIONBAR_CUSTOM
- The variable defined HTML code that will be appended to the Action Bar at
the top of Host Displays in the right frame of the web client interface. This
code is eval'ed before display. You can include perl code and variables. The
perl variable
$name
holds the FQDN of the host being displayed.
- $WWW_PROB_ACTIONBAR
- This variable is similar in function to the $WWW_ACTIONBAR_CUSTOM variable.
Except this action bar is display after each host listed in the problem
frame (left) of the client web interface.
- $WWW_TITLE_ACTIONBAR
- This variable can host HTML code that will be appended to the action bar
that is display in the title (top) frame of the client web display. This
code is eval'ed before display. You can include perl code and variables. This
action bar is only displays if the $WWWFRAMES entry elsewhere in this document is set to 3.
- $WWW_TITLE_COLOR
- Defines the background color for table title cells in the client web interface.
The colors are defined in the HTML color format.
- $WWW_CELL_COLOR
- This variable defined the background color for normal table cells in the
client web interface. The colors are defined in the HTML color format.
- $WWW_COLOR{...}
- This perl hash contains the HTML color codes for the various Spong status
colors. The can tweak the colors to your own preferences. It is strongly
suggested that you don't move the colors outside of their color family,
unless you throughly document your changes.
- $WWWFRAMES
- This determined the type of frame interface that is used in the web interface
client of the www-spong manpage. The variable can be set to 2 or 3. The default value is
2. See the user-guide manpage for more information.
- @WWW_REFRESH_ALLOW
- A list of Perl regular expressions that are checked against the REMOTE_ADDR,
REMOTE_HOST and REMOTE_USER environmental CGI parables. If there is a match on
any of these variables the www-spong manpage will attach a REFRESH meta tag to reload
the web pages every the $SPONGSLEEP entry elsewhere in this document seconds. See the
the section on $WWW_REFRESH Logic in the admin-guide manpage for more details.
- @WWW_REFRESH_DENY
- A list of Perl regular expressions that are checked against the REMOTE_ADDR,
REMOTE_HOST and REMOTE_USER environmental CGI parables. If there is a match on
any of these variables, the www-spong manpage will NOT attach a REFRESH meta tag. User's
must use the Reload/Refresh button on their web browser to update the Spong web
pages. See the the section on $WWW_REFRESH Logic in the admin-guide manpage for more
details.
- $WWWCONTACT
- This is a partial URL to a CGI script that can do paging for systems. If it is
used a "Contact" link will appear on Tool Bar on Spong Web Displays. Refer to
the User Guide for more details.
There not sample CGI script provided. To create please see
the section on Custom Contacts in the admin-guide manpage. The variable is commented out and is not used
by default.