Xymon Mailing List Archive search

Content check

list Jeremy Laidman
Tue, 13 Nov 2012 10:40:33 +1100
Message-Id: <user-901a8cfd9dd3@xymon.invalid>

On 13 November 2012 03:55, <user-aa19f82329eb@xymon.invalid> wrote:
Hi.****

** **

I want to do several content check for the same host.****

Here my configuration in bb-hosts file:****

**0.0.0.0    **foo.com # cont;http://foo.com;regexp1 cont;http://foo.com
;regexp2****

** **

I get 2 columns (content and content1) but I would like have only one.****

How can I merge the result of these 2 checks into only one column ?
What happens if you specify the column name, like this:

  0.0.0.0 foo.com# cont=content;http://foo.com;regexp1 cont=content;
http://foo.com;regexp2

I'm guessing the second will replace the first, but might be worth a try.

Apart from this, I suggest either an external test, or to add a combo test
with the "content" and "content1" suppressed via group-except. The external
test is probably less cumbersome.

Cheers
Jeremy