BB-ACK.CGI

Section: User Commands (1)
Updated: Version Exp: 11 Oct 2005
Index Return to Main Contents
 

NAME

bb-ack.cgi - Hobbit 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 Hobbit.

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

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

 

SEE ALSO

bbgen(1), bb-hosts(5), hobbitserver.cfg(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
OPTIONS
FILES
ENVIRONMENT VARIABLES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 11:36:05 GMT, October 11, 2005