[hobbit] Hobbit 4.2 release candidate available

Dominique Frise Dominique.Frise at unil.ch
Wed Jul 19 07:32:50 CEST 2006


Henrik Stoerner wrote:
> On Tue, Jul 18, 2006 at 11:26:00AM +0200, Dominique Frise wrote:
> 
>>Henrik Stoerner wrote:
>>...
>>...
>>
>>>* The "Acknowledge Alert" utility has been enhanced, so you can 
>>> acknowledge an alert without having to use the ack-code from an
>>> alert e-mail. This requires that you setup the bb-ack CGI to allow
>>> this, by adding the --no-pin option to CGI_ACK_OPTS in hobbitcgi.cfg.
>>
>>Maybe I am missing something but when I set this, the "Acknowledge Alert" 
>>page is empty.
> 
> 
> Well, do you have any alerts active at the moment ? You can check by
> seeing if the command
> 
>  bb 127.0.0.1 "hobbitdboard color=red,yellow fields=hostname,testname,cookie"
> 
> returns any data.
> 
> Note: If you have your systems split across multiple pages, it will only
> show the hosts on those pages. If you are viewing a single host (e.g.
> the detailed status of a host), it will only show that host in the
> ack web-page.
> 
I see...

Now on the "All non green view" there are two hosts/alerts pairs:

bb at iris bin]$ ./bb 127.0.0.1 "hobbitdboard color=red,yellow 
fields=hostname,testname,cookie"
otto|sslcert|818047
zeb1|disk|987573

But we see three lines on the "Acknowledge Alert" page (last one has no Host or 
Test name):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>

<TITLE>Hobbit - Acknowledge Alert</TITLE>

<!-- Styles for the menu bar -->
<link rel="stylesheet"  type="text/css" href="/hobbit/menu/menu.css">

<!-- The favicon image -->
<link rel="shortcut icon" href="/hobbit/gifs/favicon-red.ico">

</HEAD>

<BODY BGCOLOR="red" BACKGROUND="/hobbit/gifs/bkg-red.gif" TEXT="#D8D8BF" 
LINK="#00FFAA" VLINK="#FFFF44">

<TABLE SUMMARY="Topline" WIDTH="100%">
<TR><TD HEIGHT=16> </TD></TR>  <!-- For the menu bar -->
<TR>
   <TD VALIGN=MIDDLE ALIGN=LEFT WIDTH="30%">
     <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Hobbit</B></FONT>
   </TD>
   <TD VALIGN=MIDDLE ALIGN=CENTER WIDTH="40%">
     <CENTER><FONT FACE="Arial, Helvetica" SIZE="+1" 
COLOR="silver"><B>Acknowledge Alert</B></FONT></CENTER>
   </TD>

   <TD VALIGN=MIDDLE ALIGN=RIGHT WIDTH="30%">
    <FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Wed Jul 19 
07:28:53 2006</B></FONT>
   </TD>
</TR>
<TR>
   <TD COLSPAN=3> <HR WIDTH="100%"> </TD>
</TR>
</TABLE>
<BR>

<form method="POST" ACTION="/hobbit-seccgi/bb-ack.sh">
<center><table cellpadding=5 summary="Ack data">
<tr><th align=left>Host</th><th align=left>Test</th><th 
align=left>Duration<br>(minutes)</th><th 
align=left>Cause</th><th>Ack</th><th>Ack Multiple</tr>
<tr>
     <td>otto</td>
     <td>sslcert</td>

     <TD><INPUT TYPE=TEXT NAME="DELAY_1" SIZE=4 MAXLENGTH=4></TD>
     <TD><INPUT TYPE=TEXT NAME="MESSAGE_1" SIZE=60 MAXLENGTH=80></TD>
     <TD>
        <INPUT TYPE="HIDDEN" NAME="NUMBER_1" VALUE="818047">
        <INPUT TYPE="HIDDEN" NAME="HOSTNAME_1" VALUE="otto">
        <INPUT TYPE="HIDDEN" NAME="TESTNAME_1" VALUE="sslcert">
        <INPUT TYPE="SUBMIT" NAME="Send_1" VALUE="Send" ALT="Send">
     </TD>
     <TD>

        <INPUT TYPE="CHECKBOX" NAME="CHECKED_1" VALUE="OFF">
     </TD>
</tr>
<tr>
     <td>zeb1</td>
     <td>disk</td>
     <TD><INPUT TYPE=TEXT NAME="DELAY_2" SIZE=4 MAXLENGTH=4></TD>
     <TD><INPUT TYPE=TEXT NAME="MESSAGE_2" SIZE=60 MAXLENGTH=80></TD>
     <TD>

        <INPUT TYPE="HIDDEN" NAME="NUMBER_2" VALUE="987573">
        <INPUT TYPE="HIDDEN" NAME="HOSTNAME_2" VALUE="zeb1">
        <INPUT TYPE="HIDDEN" NAME="TESTNAME_2" VALUE="disk">
        <INPUT TYPE="SUBMIT" NAME="Send_2" VALUE="Send" ALT="Send">
     </TD>
     <TD>
        <INPUT TYPE="CHECKBOX" NAME="CHECKED_2" VALUE="OFF">
     </TD>
</tr>

<tr>
     <td> </td>
     <td> </td>
     <TD><INPUT TYPE=TEXT NAME="DELAY_all" SIZE=4 MAXLENGTH=4></TD>
     <TD><INPUT TYPE=TEXT NAME="MESSAGE_all" SIZE=60 MAXLENGTH=80></TD>
     <TD>
         
     </TD>
     <TD>

        <INPUT TYPE="SUBMIT" NAME="Send_all" VALUE="Send" ALT="Send">
     </TD>
</tr>
</table></center>
</form>
<BR><BR>

<TABLE SUMMARY="Bottomline" WIDTH="100%">
<TR>
   <TD> <HR WIDTH="100%"> </TD>
</TR>
<TR>

   <TD ALIGN=RIGHT><FONT FACE="Arial, Helvetica" SIZE="-2" COLOR="silver"><B><A 
HREF="http://hobbitmon.sourceforge.net/" style="text-decoration: none">Hobbit 
Monitor 4.2-RC-20060712.1</A></B></FONT></TD>
</TR>
</TABLE>


<!-- menu script itself. you should not modify this file -->
<script type="text/javascript" language="JavaScript" 
src="/hobbit/menu/menu.js"></script>
<!-- items structure. menu hierarchy and links are stored there -->
<script type="text/javascript" language="JavaScript" 
src="/hobbit/menu/menu_items.js"></script>
<!-- files with geometry and styles structures -->
<script type="text/javascript" language="JavaScript" 
src="/hobbit/menu/menu_tpl.js"></script>
<script type="text/javascript" language="JavaScript">
         new menu (MENU_ITEMS, MENU_POS);

</script>

</BODY>
</HTML>


Regards,

Dominique
UNIL - University of Lausanne



More information about the Xymon mailing list