Xymon Mailing List Archive search

how to ext script with bbwin ?

list Jeremy Laidman
Fri, 25 Jul 2014 10:23:22 +1000
Message-Id: <CAAnki7DCVa_==user-3c2d91549aaa@xymon.invalid>

From reading the source code of some of the externals, I think it works as
follows.

The filename is the column name.  So if you want a column/page called
"foobar" you would create a file called foobar.txt.

The first line needs to be in a specific format:

<color> <date> <time> [( <delay> )]

The optional delay in parens tells Xymon how long the report is to be
considered valid, before it goes purple (default is 30 minutes).

The line terminator is CRLF.

Subsequent lines contain the message to appear on the status page for the
column.

J


On 23 July 2014 22:14, Bakkies Gatvol <user-66e2e196cd54@xymon.invalid> wrote:
I don't usually do windows.

I have installed bbwin from here
http://jmac-software.blogspot.com/2012/03/xymon-windows-client-set-up-guide.html

I found below post via google ... but there is still large gaps in my
understanding.

What format do you *write a report in the bbwin tmp directory*? Can I
specify a column name ?

*Hi Ryan,*
*I didn't understand why you use bbwincmd. You could use the externals
agent to run your program every 5 minutes and your agent would just has to
write a report in the bbwin tmp directory. Then, BBWin would take care to
read the file and send the status to the hobbit server.*
*That would be much easier for you.*
*Don't you think ?*
*Etienne.*

Can somebody give me more info or point me to any docs online?

Thanks

Bakkies