[hobbit] alerts macro feature request
    Bruce Lysik 
    blysik at shutterfly.com
       
    Tue Feb  1 19:09:34 CET 2005
    
    
  
> > 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.  I modified that shell script to create comma seperated lists of hosts.
So I have $GROUP1=host1,host2 and $GROUP2=host3,host4
And when I try to do HOST=$GROUP1,$GROUP2 and run  ../bin/bbcmd --env=hobbitserver.cfg hobbitd_alert --dump-config:
HOST=
Just blank.
--
Bruce Z. Lysik  <blysik at shutterfly.com>
Operations Engineer
> -----Original Message-----
> From: Henrik Stoerner [mailto:henrik at hswn.dk]
> Sent: Tuesday, February 01, 2005 7:37 AM
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] alerts macro feature request
> 
> 
> On Mon, Jan 31, 2005 at 02:57:06PM -0800, Bruce Lysik wrote:
> > Hi,
> > 
> > So I was defining an alert, when I tried to do this:
> > 
> If they are regular expressions, I suppose it would work if you
> kept the "%" sign out of the expression, and did this:
> 
> HOST=%$GROUP1|$GROUP2 EXHOSTS=$SUBGROUP1|$SUBGROUP2
> 
> 
> Henrik
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
    
    
More information about the Xymon
mailing list