Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

hobbitgraph.cgi(1) [debian man page]

HOBBITGRAPH.CGI(1)					      General Commands Manual						HOBBITGRAPH.CGI(1)

NAME
hobbitgraph.cgi - CGI to generate Xymon trend graphs SYNOPSIS
hobbitgraph [options] DESCRIPTION
hobbitgraph.cgi is invoked as a CGI script via the hobbitgraph.sh CGI wrapper. hobbitgraph.cgi is passed a QUERY_STRING environment variable with the following parameters: host Name of the host to generate a graph for service Name of the service to generate a graph for disp Display-name of the host, used on the generated graphs instead of hostname. graph Can be "hourly", "daily", "weekly" or "monthly" to select the time period that the graph covers. first Used to split multi-graphs into multiple graphs. This causes hobbitgraph.cgi to generate only the graphs starting with the "first'th" graph and continuing for "count". count Number of graphs in a multi-graph. upper Set the upper limit of the graph. See rrdgraph(1) for a description of the "-u" option. lower Set the lower limit of the graph. See rrdgraph(1) for a description of the "-l" option. graph_start Set the starttime of the graph. This is used in zoom-mode. graph_end Set the end-time of the graph. This is used in zoom-mode. action=menu Generate an HTML page with links to 4 graphs, representing the hourly, weekly, monthly and yearly graphs. Doesn't actually gen- erate any graphs, only the HTML that links to the graphs. action=selzoom Generate an HTML page with link to single graph, and with JavaScript code that lets the user select part of the graph for a zoom-operation. The JavaScript invokes hobbitgraph.cgi with "action=showzoom" to generate the zoomed graph webpage. action=showzoom Generate HTML with a link to the zoomed graph image. This link goes to an "action=view" invocation of hobbitgraph.cgi. action=view Generate a single graph image. OPTIONS
--config=FILENAME Loads the graph configuration file from FILENAME. If not specified, the file $BBHOME/etc/hobbitgraph.cfg is used. See the hobbit- graph.cfg(5) for details about this file. --env=FILENAME Loads the environment settings defined in FILENAME before executing the CGI. --rrddir=DIRECTORY The top-level directory for the RRD files. If not specified, the directory given by the BBRRDS environment is used. --save=FILENAME Instead of returning the image via the CGI interface (i.e. on stdout), save the generated image to FILENAME. --debug Enable debugging output. ENVIRONMENT
QUERY_STRING Provided by the webserver CGI interface, this decides what graph to generate. FILES
hobbitgraph.cfg: The configuration file determining how graphs are generated from RRD files. SEE ALSO
hobbitgraph.cfg(5), xymon(7), rrdtool(1) Xymon Version 4.2.3: 4 Feb 2009 HOBBITGRAPH.CGI(1)

Check Out this Related Man Page

BB-ACK.CGI(1)						      General Commands Manual						     BB-ACK.CGI(1)

NAME
bb-ack.cgi - Xymon CGI script to acknowledge alerts SYNOPSIS
bb-ack.cgi?ACTION=action&NUMBER=acknum&DELAY=validity&MESSAGE=text DESCRIPTION
bb-ack.cgi is invoked as a CGI script via the bb-ack.sh CGI wrapper. bb-ack.cgi is passed a QUERY_STRING environment variable with the ACTION, NUMBER, DELAY and MESSAGE parameters. PARAMETERS
ACTION is the action to perform. The only supported action is "Ack" to acknowledge an alert. NUMBER is the number identifying the host/service to be acknowledged. It is included in all alert-messages sent out by Xymon. DELAY is the time (in minutes) that the acknowledge is valid. MESSAGE is an optional text which will be shown on the status page while the acknowledgment is active. You can use it to e.g. tell users not to contact you about the problem, or inform them when the problem is expected to be resolved. OPTIONS
--no-pin bb-ack.cgi normally requires the user to enter the acknowledgment code received in an alert message. If you run it with this option, the user will instead get a list of the current non-green statuses, and he may send an acknowledge without knowing the code. --no-cookies Normally, bb-ack.cgi uses a cookie sent by the browser to initially filter the list of hosts presented. If this is not desired, you can turn off this behaviour by calling bb-ack.cgi with the --no-cookies option. This would normally be placed in the CGI_ACK_OPTS setting in hobbitcgi.cfg(5) --env=FILENAME Loads the environment defined in FILENAME before executing the CGI script. --debug Enables debugging output. FILES
$BBHOME/web/acknowledge_header HTML header file for the generated web page $BBHOME/web/acknowledge_footer HTML footer file for the generated web page $BBHOME/web/acknowledge_form Query form displayed when bb-ack.cgi is called with no parameters. ENVIRONMENT VARIABLES
BBHOME Used to locate the template files for the generated web pages. QUERY_STRING Contains the parameters for the CGI script. BUGS
When using alternate pagesets, hosts will only show up on the acknowledgment page if this is accessed from the primary page in which they are defined. So if you have hosts on multiple pages, they will only be visible for acknowledging from their main page which is not what you would expect. SEE ALSO
bbgen(1), bb-hosts(5), hobbitserver.cfg(5) Xymon Version 4.2.3: 4 Feb 2009 BB-ACK.CGI(1)
Man Page