Xymon Mailing List Archive search

Problems with 'COMPACT'

list Ron Cohen
Tue, 6 Jul 2021 13:43:14 +0100
Message-Id: <user-a38967c3e2a0@xymon.invalid>

Your configuration is fine - it is the COMPACT which has issues. Not only it makes the non-green page to look like a Guy Fawkes night, it also adds COMPACT columns from unrelated pages to any page which has  COMPACTed  tests defined.

I haven't seen the the first issue you have specified though - missing 1st test - maybe it relates to the version? I'm on 4.3.28.

Ron



On 02/07/2021 08:13, Colin Coe wrote:
Any thoughts on this?  I've had a look at the source but can't see anything obvious.

Thanks

On Tue, 29 Jun 2021 at 06:12, Colin Coe <user-5b250cd7a540@xymon.invalid> wrote:
Hi all
I'm trying to use the 'COMPACT' directive for a few custom tests.  My config looks a it like:
1.1.1.1 a_fim # noconn COMPACT:fim=fim_test1|fim_test2|fim_test3|fim_test4 NOCOLUMNS:conn,info,trends
1.1.1.2 b_fim # noconn COMPACT:fim=fim_test1|fim_test2|fim_test3|fim_test4 NOCOLUMNS:conn,info,trends
1.1.1.3 c_fim # noconn COMPACT:fim=fim_test1|fim_test2|fim_test3|fim_test4 NOCOLUMNS:conn,info,trends

The problem is that the first compacted test (fim_test1) seems to not get included in the compacting (ie, it shows on the non-green page) and if any of the compacted tests for any host are non-green, every host with the compacted test is shown on the non-green page.

Anyone else having this problem or have I configured it wrong?

Thanks



Xymon@xymon.com