Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
FINDHOST.CGI(1)		    General Commands Manual	       FINDHOST.CGI(1)

NAME
       findhost.cgi - Xymon CGI	script to find hosts

SYNOPSIS
       findhost.cgi?host=REGEX

DESCRIPTION
       findhost.cgi  is	 invoked as a CGI script via the findhost.sh CGI wrap-
       per.

       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 xy-
       mongen, you access it via the URL /xymon/help/findhost.html.

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

FILES
       $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 parame-
	      ters.

ENVIRONMENT VARIABLES
       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.

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

Xymon			  Version 4.3.28: 17 Jan 2017	       FINDHOST.CGI(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | FILES | ENVIRONMENT VARIABLES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=findhost.cgi&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help