Unix and Linux Discussions Tagged with web |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
7,577 |
Web Development |
|
|
|
1 |
5,628 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,170 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
5,430 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
13,225 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
3,445 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
4,790 |
What is on Your Mind? |
|
|
|
0 |
3,414 |
Web Development |
|
|
|
18 |
16,732 |
Shell Programming and Scripting |
|
|
|
4 |
10,417 |
Web Development |
|
|
|
0 |
2,145 |
Shell Programming and Scripting |
|
|
|
4 |
27,356 |
Web Development |
|
|
|
3 |
5,697 |
Web Development |
|
|
|
1 |
2,732 |
Web Development |
|
|
|
1 |
11,189 |
Web Development |
|
|
|
2 |
3,633 |
Web Development |
|
|
|
9 |
5,498 |
Web Development |
|
|
|
10 |
24,006 |
Web Development |
|
|
|
1 |
4,460 |
Web Development |
|
|
|
0 |
3,066 |
Web Development |
|
|
|
1 |
4,852 |
Web Development |
|
|
|
0 |
2,733 |
Web Development |
|
|
|
2 |
4,641 |
Web Development |
|
|
|
1 |
3,629 |
Web Development |
|
|
|
0 |
3,923 |
Web Development |
|
|
|
3 |
3,276 |
Web Development |
|
|
|
1 |
3,166 |
Web Development |
|
|
|
0 |
3,655 |
Web Development |
|
|
|
2 |
6,638 |
Web Development |
|
|
|
0 |
6,821 |
Web Development |
|
|
|
2 |
5,483 |
Web Development |
|
|
|
2 |
6,304 |
Web Development |
|
|
|
0 |
4,195 |
Web Development |
|
|
|
2 |
10,038 |
Web Development |
|
|
|
0 |
3,853 |
Web Development |
|
|
|
1 |
5,970 |
Web Development |
|
|
|
0 |
3,216 |
Web Development |
|
|
|
0 |
3,761 |
Web Development |
|
|
|
3 |
4,079 |
Web Development |
|
|
|
0 |
4,294 |
Web Development |
BB-FINDHOST.CGI(1) General Commands Manual BB-FINDHOST.CGI(1)
NAME
bb-findhost.cgi - Xymon CGI script to find hosts
SYNOPSIS
bb-findhost.cgi?host=REGEX
DESCRIPTION
bb-findhost.cgi is invoked as a CGI script via the bb-findhost.sh CGI wrapper.
bb-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 bb-hosts(5) file.
A sample web page implementing the search facility is included with bbgen, you access it via the URL /bb/help/bb-findhost.html.
OPTIONS
--env=FILENAME
Loads the environment from FILENAME before executing the CGI.
FILES
$BBHOME/web/findhost_header
HTML header file for the generated web page
$BBHOME/web/findhost_footer
HTML footer file for the generated web page
$BBHOME/web/findhost_form
Query form displayed when bb-findhost.cgi is called with no parameters.
ENVIRONMENT VARIABLES
BBHOSTS
bb-findhost.cgi uses the BBHOSTS environment variable to find the bb-hosts file listing all known hosts and their page locations.
BBHOME Used to locate the template files for the generated web pages.
SEE ALSO
bbgen(1), bb-hosts(5), hobbitserver.cfg(5)
Xymon Version 4.2.3: 4 Feb 2009 BB-FINDHOST.CGI(1)