Xymon Mailing List Archive search

alert rules

list Werner Michels
Thu, 05 May 2005 12:44:05 -0300
Message-Id: <user-09ed1f7f131a@xymon.invalid>

On Thu, 5 May 2005 11:12:07 -0400
Sue Bauer-Lee <user-06773162a9bc@xymon.invalid> wrote:
My epxressions here must be really confusing:

$WINOPS=user-cdfb1314498f@xymon.invalid

# CCRT Windows
HOST="%(cctfep3*|cctapp3*|cctfep1[0-9]||cctfep0*|cctapp[0-9]|cctpdp0*|cctdbp0*)" SERVICE=conn
(164)     MAIL $WINOPS  REPEAT=10 RECOVERED
	Most regex engines match a empty "ored" string agains everything with a TRUE return. So on the "cctfep1[0-9]||cctfep0*" you have an empty "||" sequence who will posible match agains every host. Try remove one of the "|".

	I didn't look at the code to be 100% sure on this.
	
	-wm