Xymon Mailing List Archive search

Test showing white instead of purple - SOLVED

list John Horne
Mon, 24 Sep 2012 16:26:52 +0100
Message-Id: <user-a687fa3f6895@xymon.invalid>

On Tue, 2012-09-18 at 08:34 +0200, Thomas Kähn wrote:
Hi John,

On Mon, Sep 17, 2012 at 11:41:07AM +0100, John Horne wrote:
Is there a way to report a test as purple if it changes from a colour to
white?

I'm not sure why it reported white and not purple. The status report
from the client was truncated, and I assume the 'files' test, therefore,
received no status.
according to the documentation it is possible to tweak the behaviour a
little bit:

http://xymon.sourceforge.net/xymon/help/manpages/man8/xymond_client.8.html

So if you set --no-clear-files the column probably would have switched
to purple instead of clear.
Hello,

Yes, the above option does cause the test to show purple instead of
clear/white (and hence appears on the 'non-green' page).
Many thanks for that.

There is also the option '--clear-color', which could be set to red or
yellow. Setting it to purple is accepted, but xymond then ignores
receiving 'purple' as a status colour. In my test case, the colour
seemed to remain at its previous value (which was red).


John.

-- 
John Horne                   Tel: +XX (X)XXXX XXXXXX
Plymouth University, UK      Fax: +XX (X)XXXX XXXXXX