[hobbit] EXHOST regular expression syntax

Johann Eggers Johann.Eggers at teleatlas.com
Tue Apr 22 10:25:09 CEST 2008


> 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



More information about the Xymon mailing list