[Mon-commit] mon/clients mon.cgi,1.4,1.5
Brought to you by:
trockij
From: Augie S. <as...@us...> - 2007-07-17 17:53:08
|
Update of /cvsroot/mon/mon/clients In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4519/clients Modified Files: mon.cgi Log Message: Fixing bug 1686965; mon.cgi does not display ACK messages. Index: mon.cgi =================================================================== RCS file: /cvsroot/mon/mon/clients/mon.cgi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** mon.cgi 31 Jul 2005 16:59:13 -0000 1.4 --- mon.cgi 17 Jul 2007 17:52:37 -0000 1.5 *************** *** 175,179 **** # If you do not wish to use a config file, leave this variable empty. # ! $moncgi_config_file = ""; --- 175,179 ---- # If you do not wish to use a config file, leave this variable empty. # ! $moncgi_config_file = "/var/www/html/mon.cgi.cf"; *************** *** 1084,1088 **** # user requested it, otherwise, just pass it on through # as is. ! if ( $op{$group}{$service}{'ack'} == 1 ) { if ($untaint_ack_msgs) { # --- 1084,1088 ---- # user requested it, otherwise, just pass it on through # as is. ! if ( $op{$group}{$service}{'ack'} != 0 ) { if ($untaint_ack_msgs) { # *************** *** 1679,1683 **** $webpage->print("<td $ack_command_bgcolor colspan=1 width=50%>"); ! if ($op{$group}{$service}{'ack'} == 1) { # Service has already been acked, offer to re-ack $acknowledge_string = "<font size=+1><b>Re-acknowledge this failure:</b></font><br>(changes the acknowledgement message)<br>"; --- 1679,1683 ---- $webpage->print("<td $ack_command_bgcolor colspan=1 width=50%>"); ! if ($op{$group}{$service}{'ack'} != 0) { # Service has already been acked, offer to re-ack $acknowledge_string = "<font size=+1><b>Re-acknowledge this failure:</b></font><br>(changes the acknowledgement message)<br>"; |