If you have access to the server, you can query the status table a lot easier than that.  Look in the man page for the bb command.  You'll use something like:<div><br></div><div>     server/bin/bb localhost 'hobbitdboard'</div>
<div><br></div><div>There's a bunch of arguments you can pass to pick out information by column (test name), host name, color, &c.</div><div><br></div><div>Once you've worked out what you want, you can have your script launched by xymon at regular intervals, in which case you'd use:</div>
<div><br></div><div>     $BB $BBDISP 'hobbitdboard arg1 arg2 etc"</div><div><br></div><div>Ralph Mitchell</div><div><br><br><div class="gmail_quote">On Thu, Nov 26, 2009 at 8:43 PM, Josh Luthman <span dir="ltr"><<a href="mailto:josh@imaginenetworksllc.com">josh@imaginenetworksllc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I don't write scripts but maybe you could curl the status page and<br>
look at the background (it's red or green based on condition).<br>
<div class="im"><br>
On 11/26/09, Aulestia Jimmy <<a href="mailto:Jimmy.Aulestia@telefonica.com.ec">Jimmy.Aulestia@telefonica.com.ec</a>> wrote:<br>
> How can i check or query the values from a other column in a script?<br>
> I wooul like to execute a script1 that create the COLUMN 1, this script1<br>
> use the status, maybe COLOR o hobbitgraph variable from  a COLUMN2<br>
><br>
> Greetings,<br>
> Jimmy Aulestia<br>
><br>
> ADMINISTRACION 0&M PLATAFORMA DE VOZ<br>
><br>
> Movil: 08 771 4041<br>
><br>
> Oficina: 099996503  / 2227700 - ext 6503<br>
><br>
> <a href="mailto:Jimmy.Aulestia@telefonica.com.ec">Jimmy.Aulestia@telefonica.com.ec</a><br>
</div>> <mailto:<a href="mailto:Jimmy.Aulestia@telefonica.com.ec">Jimmy.Aulestia@telefonica.com.ec</a>><br>
><br>
><br>
><br>
><br>
><br>
><br>
<br>
<br>
--<br>
Josh Luthman<br>
Office: 937-552-2340<br>
Direct: 937-552-2343<br>
1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373<br>
<br>
"The secret to creativity is knowing how to hide your sources."<br>
--- Albert Einstein<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></div>