|[Table of Contents]||[Index]|
www-spong - display spong system status via the web or general static HTML pages of system status
--summary [hostlist] |
--problems [hostlist] |
--history [<hostlist] |>
--host host |
--services host |
--stats host |
--config host |
--info host |
[--brief | --standard | --full ]
The www-spong program interfaces with the spong-server to display the collected information in HTML format. www-spong can be run in two modes: as a CGI program and from the command line.
When run as a CGI program it does not have to loaded onto the same machine that spong-server is running. It queries the spong-server through it's query port. it will display information via a web page that reloads itself at regular intervals. When run with no parameters it created a page with two or three frames. In tree frames mode there will be a top title frame spanning the entire page that has an action bar to switch views. The remain frames are displayed below. The left frame displays a summary of systems along with their associated problems (services that are red). The right panel is a table that lists the hosts and services, and the current status is a colored block or an icon depending on how spong-server is configured. For further information on how to use the web interface see <Users Guide|user-guide>.
When run from a command line, www-spong generates HTML pages that are printed to the console. This mode can be used to generate static HTML pages. If www-spong is run without any parameters a page that contains a summary display for all hosts is generated.
By default the the spong.conf manpage file is read on startup. It defines some specific variable that you probably don't need to override.
After reading the configuration file, then reads the
spong.conf.[host] file where [host] is the host name of the machine that you
are running on. Since these configuration files are just standard perl code
that gets imported, the variables that you define in the host specific config
file will take precedence over the standard configuration settings.
Here are a list of variables in the spong.conf file that are applicable to the spong-server program:
Perl v5.005_03 or greater is required.
The --stats, --config, and --info parameters are currently not implemented in the spong-server. When specified they will just generate a blank HTML page.
the spong.hosts manpage, the spong.conf manpage, the user-guide entry elsewhere in this document http://spong.sourceforge.net/ the Spong Home Page
Ed Hill <
email@example.com>, Unix System Administrator, The University of
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 development until version 2.1. Stephen L Johnson took over development in October, 1999 with his changes which became Spong 2.5.
the check_snmp manpage