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,
Thanks for this. However, the man page says:
===========
If there are no file checks, the "files" column will show a "clear"
status. If you would rather avoid having a "files" column, this option
causes xymond_client to not send in a clear "files" status.
==========
which is a little confusing. We have files to check, and the 'files'
column already exists (from previous results). So does this option
prevent a *subsequent* status for 'files' from showing white/clear but
will default to purple as with other tests. If so, then yes this seems
like what we want.
I think I need to experiment a little with it.
John.
--
John Horne Tel: +XX (X)XXXX XXXXXX
Plymouth University, UK Fax: +XX (X)XXXX XXXXXX