BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

{bb} How do I pass the symbol for the bb-hosts line entry from an external script ... I get the "COLOR" part ...



I cannot *quite* understand how the external tests for BB4 are put together.  From the example that ships with the code, please help me understand these few things I'm missing - thanks very much for any help.
 
in "ext/ext-proto", the lines
 
TEST="wx"
MACHINE="montreal,quebec,canada"
 
I understand "wx" - that's a column.  Is MACHINE the name I use in bb-hosts, then? Like:
 
montreal,quebec,canada        www.madeup.com # noconn noping wx
 
In "ext/ext-proto", the line:
 
LINE="status $MACHINE.$TEST $COLOR `date`
 
I understand how "$COLOR" is the color I want the whole background to be, but how do I send the symbol (the green square, the red x, etc.) I want to putup on the line I am testing (www.madeup.com, in this case)?
 
What I want to do is run an external test for a machine with no IP, but display my machine name as a line in the display, put up the "correct" icon, as defined by me, and set the color.
 
Thanks again.
 
John

Home | Main Index | Thread Index