[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] How do you check the status from other column from scripts?
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] How do you check the status from other column from scripts?
- From: Ralph Mitchell <ralphmitchell (at) gmail.com>
- Date: Thu, 26 Nov 2009 23:16:44 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=rs71E/DiTzudAdejoD44euq+f1QGHJAngVoDwt5tkf8=; b=wPOXyQWKze/cvYmrjIRRU5vjlrB6tppxAf4CioO6kgW0IoaqpxdKHB28dPjCVlfKZV 5lWc/sWgj4lcgHfuDXyxSFvu9yK5clDSuOXSgqQeOjDINF6SZ0KTCcNEJvKxxpo3Ikg5 5HjEavqaYGd4XGA25eTpu6KvRxsYRP6441e+w=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=AE8S9SXIkytImXrqxPtiDpkRztc9NvERZhPP4NyURdPyjqx/yqntu3BKPlqj51Cy0c Br2Fa+9mxA3TIcAgcKil5GUK0KfMGIUdVsx445t9J46e+2VS7lFPA5KILrCQKH7bMiBy aABuxO3DzfFdRaogPtx7xd7OuF0Q8WOnqFFrE=
- References: <8F2D14922A66304FA9E61E6D108E35951C5084EF (at) OTECELEXCQ03.otecel.com.ec> <961092e10911261743md45a2d5t7844210e5d789f79 (at) mail.gmail.com>
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
>
>
>