Acknowledge BB notifications from status reports

Big Brother has an administration page (checkmark upper left corner) where you can acknowledge notifications from a form using a seven digit ack code that appears in the notification (email, SMS, pager) received. Acknowledging a notification will suppress future notifications for the same event for a given time. This article will show you how to acknowledge an event directly from the BB status page.

A form (as seen below) can be added to the BB status pages that will enable you to acknowledge a notification directly from that status report. There may be some IIS configuration needed to get CGI Perl scripts to run on Windows and that information can be found in the Windows How To page.


(Here's the Perl CGI script)

Here's how to set this up:

1. Save this script in the IIS cgi-bin directory. (Don't have an IIS cgi-bin directory? Check out www.cmcps.com for a how to.)

2. Add the following HTML to the top of the %BBHOME%\www\skins\eng\headfoot\hostsvc_footer file:

<p>
<center>
<FORM ACTION="/cgi-bin/bb-ackReport.pl">
<INPUT TYPE="HIDDEN" NAME="HOST" VALUE="&BBHOST">
<INPUT TYPE="HIDDEN" NAME="SVC" VALUE="&BBSVC">
Acknowledge for <INPUT TYPE=TEXT NAME="DELAY" VALUE="" SIZE=2 MAXLENGTH=2>
<INPUT TYPE=radio NAME="minHourDay" VALUE="Min">Min(s)
<INPUT TYPE=radio NAME="minHourDay" VALUE="Hour">Hour(s)
<INPUT TYPE=radio NAME="minHourDay" VALUE="Day">Days(s)
Status <INPUT TYPE=TEXT NAME="MESSAGE" SIZE=20 MAXLENGTH=80>
<INPUT TYPE="SUBMIT" NAME="SUB" VALUE="ack" ALT="Ack" BORDER=0 METHOD="GET">
<INPUT TYPE="HIDDEN" NAME="DISP" VALUE="&BBCURRDISP">
</FORM>
</center>
<p>

3. Create a new notification rule and recipient in your bbwarnrules.cfg file named "auto-ack", like:

*;;*;;*;*;*;auto-ack

4. Edit the config section below for your environment.

NOTE: I recommend adding bb.exe to your system %PATH% environment variable.

After the Perl script is in place and the FORM has been added to the hostsvc_footer file you can acknowledge event notifications directly from BB status pages.