[hobbit] How do you check the status from other column from scripts?

Ralph Mitchell ralphmitchell at gmail.com
Fri Nov 27 05:16:44 CET 2009


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:

     server/bin/bb localhost 'hobbitdboard'

There's a bunch of arguments you can pass to pick out information by column
(test name), host name, color, &c.

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:

     $BB $BBDISP 'hobbitdboard arg1 arg2 etc"

Ralph Mitchell


On Thu, Nov 26, 2009 at 8:43 PM, Josh Luthman
<josh at imaginenetworksllc.com>wrote:

> I don't write scripts but maybe you could curl the status page and
> look at the background (it's red or green based on condition).
>
> On 11/26/09, Aulestia Jimmy <Jimmy.Aulestia at telefonica.com.ec> wrote:
> > How can i check or query the values from a other column in a script?
> > I wooul like to execute a script1 that create the COLUMN 1, this script1
> > use the status, maybe COLOR o hobbitgraph variable from  a COLUMN2
> >
> > Greetings,
> > Jimmy Aulestia
> >
> > ADMINISTRACION 0&M PLATAFORMA DE VOZ
> >
> > Movil: 08 771 4041
> >
> > Oficina: 099996503  / 2227700 - ext 6503
> >
> > Jimmy.Aulestia at telefonica.com.ec
> > <mailto:Jimmy.Aulestia at telefonica.com.ec>
> >
> >
> >
> >
> >
> >
>
>
> --
> Josh Luthman
> Office: 937-552-2340
> Direct: 937-552-2343
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
>
> "The secret to creativity is knowing how to hide your sources."
> --- Albert Einstein
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20091126/5ae87e8b/attachment.html>


More information about the Xymon mailing list