Xymon Mailing List Archive search

How do you check the status from other column from scripts?

list Ralph Mitchell
Thu, 26 Nov 2009 23:16:44 -0500
Message-Id: <user-3fc407f5542f@xymon.invalid>

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
<user-4c45a83f15cb@xymon.invalid>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 <user-d9ec8fc5bab2@xymon.invalid> 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: XX XXX XXXX

Oficina: XXXXXXXXX  / XXXXXXX - ext XXXX

user-d9ec8fc5bab2@xymon.invalid

--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"The secret to creativity is knowing how to hide your sources."
--- Albert Einstein