Xymon Mailing List Archive search

EXHOST regular expression syntax

list Johann Eggers
Tue, 22 Apr 2008 10:25:09 +0200
Message-Id: <user-df0eb2664891@xymon.invalid>

The rule that used to work is like this:
PROC	dsmc EXHOST=%.jotunn.rhi.hi.is

Now, yet another host is also exempt from the rule, so
I tested the following rules:
PROC	dsmc EXHOST=%.jotunn.rhi.hi.is EXHOST=bestla.rhi.hi.is
PROC	dsmc EXHOST=%.jotunn.rhi.hi.is,bestla.rhi.hi.is

Both rules give unexpected results. So I expect that the rule
should be written as a single regular expression, but I
do not know the syntax. Can anybody refer me to a description
of the syntax.
Hi,

Try using this:

PROC dsmc EXHOST=%(jotunn.rhi.hi.is|bestla.rhi.hi.is)

-Johann