GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
FINDHOST.CGI(1) FreeBSD General Commands Manual FINDHOST.CGI(1)

findhost.cgi - Xymon CGI script to find hosts

findhost.cgi?host=REGEX

findhost.cgi 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 regex(7) ) 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 hosts.cfg(5) file.

A sample web page implementing the search facility is included with xymongen, you access it via the URL /xymon/help/findhost.html.

--env=FILENAME
Loads the environment from FILENAME before executing the CGI.

$XYMONHOME/web/findhost_header
HTML header file for the generated web page

$XYMONHOME/web/findhost_footer
HTML footer file for the generated web page

$XYMONHOME/web/findhost_form
Query form displayed when findhost.cgi is called with no parameters.

HOSTSCFG
findhost.cgi uses the HOSTSCFG environment variable to find the hosts.cfg file listing all known hosts and their page locations.

XYMONHOME
Used to locate the template files for the generated web pages.

xymongen(1), hosts.cfg(5), xymonserver.cfg(5)

Version 4.3.30: 4 Sep 2019 Xymon

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.