[hobbit] alerts macro feature request

Henrik Stoerner henrik at hswn.dk
Tue Feb 1 22:09:01 CET 2005


On Tue, Feb 01, 2005 at 10:09:34AM -0800, Bruce Lysik wrote:
> 
> > > HOST=$GROUP1,$GROUP2 EXHOSTS=$SUBGROUP1,$SUBGROUP2
> > 
> > If your macros are not regular expressions, then it should just work.
> 
> That's what I was hoping, but it doesn't seem to be.

Ah, I think I know what's happening. At line 208 of hobbitd/do_alert.c:
 
               n = strcspn(p, " \t");
Should be
               n = strcspn(p, "\t $.,|%!()[]{}+?/&@:;*");


Henrik



More information about the Xymon mailing list