<div>Thanks Stef,</div>
<div> </div>
<div>Here is my script.</div>
<div> </div>
<div>#!/bin/sh<br>COLUMN=foo # Name of the column<br>COLOR=green             # By default, everything is OK<br>MSG="foo is Down"<br>MSG1="foo is Good"<br>COLOR=red<br>$BB $BBDISP "status $MACHINE.$COLUMN $COLOR `date` ${MSG}"<br>
sleep 60</div>
<div>COLOR=green<br>$BB $BBDISP "status $MACHINE.$COLUMN $COLOR `date` ${MSG1}"<br>fi<br>fi<br></div>
<div>Let me know if the above task is right.</div>
<div> </div>
<p>> 2. Is there a way to know if the client is able to send the data to the<br>> hobbit server?</p>
<p>>You can search in the data directory of the hobbit server.  Each server has a<br>directory in the histlogs directory.  In this directory is a sub-directory<br>per check/column.</p>
<div>There is no sub directory with foo for that server name.</div>
<div> </div>
<p>> 1. Is there a way i can debug to find what went wrong?</p>
<p>Dump the bb command you execute in your script to stdout and check for errors.<br>Try to execute the same command on the command line and check for errors.</p>
<div>Please help on this.</div>
<div> </div>
<div>Regards,</div>
<div>Sanu</div>
<div><br><br> </div>
<div class="gmail_quote">On Wed, Mar 11, 2009 at 1:57 AM, Stef Coene <span dir="ltr"><<a href="mailto:stef.coene@docum.org">stef.coene@docum.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">On Tuesday 10 March 2009, Sanu Mathew wrote:<br>> All,<br>><br>> I have followed the method to add a new column from these links.<br></div>You can not 'add' a new column.<br>If you send data to the hobbit server in your script, you have to make sure<br>
the syntax is correct.  One of the rules is <client name>.<check name>.<br>Client name is the name like it appears in bb-hosts, the check name will be<br>the new column name.<br>
<div class="im"><br>> 1. Is there a way i can debug to find what went wrong?<br></div>Dump the bb command you execute in your script to stdout and check for errors.<br>Try to execute the same command on the command line and check for errors.<br>

<div class="im"><br>> 2. Is there a way to know if the client is able to send the data to the<br>> hobbit server?<br></div>You can search in the data directory of the hobbit server.  Each server has a<br>directory in the histlogs directory.  In this directory is a sub-directory<br>
per check/column.<br>
<div class="im"><br>> 3. If the client is able to send the data to the hobbit server, why is it<br>> not displaying the new column.<br></div>You can also check the ghost client list.  There is an option in the top menu.<br>
<br><br>Stef<br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote></div><br>