[hobbit] alerts macro feature request

Bruce Lysik blysik at shutterfly.com
Tue Feb 1 23:23:51 CET 2005


> > 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 $.,|%!()[]{}+?/&@:;*");
> 

Almost.  Now the --dump-config shows the macro expanded for the first group, but not the second.

For example, HOST=$group1,$group2 shows as HOST=group1member1,group1member2

--
Bruce Z. Lysik  <blysik at shutterfly.com>
Operations Engineer


> -----Original Message-----
> From: Henrik Stoerner [mailto:henrik at hswn.dk]
> Sent: Tuesday, February 01, 2005 1:09 PM
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] alerts macro feature request
> 
> 
> 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.
> > 
> 
> Henrik
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 



More information about the Xymon mailing list