[hobbit] PCRE reference with examples

Rich Smrcina rsmrcina at wi.rr.com
Thu Oct 13 22:21:25 CEST 2005


Good show, that looks better.  Thanks!

Henrik Stoerner wrote:
> 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
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
> 

-- 
Rich Smrcina
VM Assist, Inc.
Main: (262)392-2026
Cell: (414)491-6001
Ans Service:  (360)715-2467
rich.smrcina at vmassist.com

Catch the WAVV!  http://www.wavv.org
WAVV 2006 - Chattanooga, TN - April 7-11, 2006



More information about the Xymon mailing list