Xymon Mailing List Archive search

PCRE reference with examples

list Henrik Størner
Thu, 13 Oct 2005 22:13:50 +0200
Message-Id: <user-d781f187c799@xymon.invalid>

On Thu, Oct 13, 2005 at 03:02:14PM -0500, Rich Smrcina wrote:
That produces two lines that look like this:

00008432 2005-10-13 14:30:06 Failed 'MAIL $pg-tom DURATION>5 COLOR=red' 
(min. duration 0<300)
Oops You're right - the test option doesn't show the expanded macros.
Try the --dump-config instead:

$ bbcmd hobbitd_alert --dump-config
2005-10-13 22:09:02 Using default environment file /usr/lib/hobbit/server/etc/hobbitserver.cfg

HOST=%^va.*
	MAIL user-09601a56c098@xymon.invalid FORMAT=TEXT REPEAT=30
	MAIL user-caed2b630f14@xymon.invalid FORMAT=TEXT REPEAT=30


Regards,
Henrik