Section: User Commands (1)
Updated: Version 4.3.28-1.el7.terabithia: 18 Jan 2017
Return to Main Contents
findhost.cgi - Xymon CGI script to find hosts
is invoked as a CGI script via the findhost.sh CGI wrapper.
findhost.cgi is passed a QUERY_STRING environment variable with the
"host=REGEX" parameter. The REGEX is a Posix regular expression (see
) describing the hostnames to look for. A trailing wildcard is assumed on all
hostnames - e.g. requesting the hostname "www" will match any host whose
name begins with "www".
It then produces a single web page, listing all of the hosts that
matched any of the hostnames, with links to the Xymon webpages
where they are located.
The output page lists hosts in the order they appear in the
A sample web page implementing the search facility is included
with xymongen, you access it via the URL /xymon/help/findhost.html.
Loads the environment from FILENAME before executing the CGI.
HTML header file for the generated web page
HTML footer file for the generated web page
Query form displayed when findhost.cgi is called with no parameters.
findhost.cgi uses the HOSTSCFG environment variable to find the
hosts.cfg file listing all known hosts and their page locations.
Used to locate the template files for the generated web pages.
xymongen(1), hosts.cfg(5), xymonserver.cfg(5)
- ENVIRONMENT VARIABLES
- SEE ALSO
This document was created by
using the manual pages.
Time: 02:45:08 GMT, January 19, 2017