[Xymon] how to ext script with bbwin ?

Bakkies Gatvol bakgat8 at hotmail.com
Fri Jul 25 15:44:21 CEST 2014


What format is the date? Do I have to put quotes around something?

I can get the column name and the color, but that is all I think that is working.

At the moment -  it drops the word red - it's first on the line as suggested, but the rest just shows up in the display.  This makes me think it is not interpreting any of it, purely dumping it on the screen.

on display
25-07-2014 14:01:31 ( 60 ) 

in file called evt (column name = evt ) 
red 25-07-2014 14:01:31 ( 60 ) 

I will happily read code if I could get my hands on it. I am too unix to know how to open/read a msi file. But c++ source I could probably read.

Thanks

From: jlaidman at rebel-it.com.au
Date: Fri, 25 Jul 2014 10:23:22 +1000
Subject: Re: [Xymon] how to ext script with bbwin ?
To: bakgat8 at hotmail.com
CC: xymon at xymon.com

>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 <bakgat8 at hotmail.com> 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 

 		 	   		  

_______________________________________________

Xymon mailing list

Xymon at xymon.com

http://lists.xymon.com/mailman/listinfo/xymon



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140725/731b433a/attachment.html>


More information about the Xymon mailing list