[hobbit] PCRE reference with examples

Henrik Stoerner henrik at hswn.dk
Thu Oct 13 22:13:50 CEST 2005


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 tomsemail at somewhere.com FORMAT=TEXT REPEAT=30
	MAIL tomscell at wireless.com FORMAT=TEXT REPEAT=30


Regards,
Henrik




More information about the Xymon mailing list