[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] hobbit-alert.cfg: grouping recipients using macros



On Wed, Jun 13, 2007 at 06:09:15PM -0600, Haertig, David F (Dave) wrote:
> In the hobbit-alerts.cfg file, can you group recipients using macros?

Yes.

> $JOHN=john (at) mycompany.com
> $FRED=fred (at) mycompany.com
> $JANE=jane (at) mycompany.com
>  
> $MYGROUP=$JOHN,$FRED,$JANE
> $OTHERGROUP=$JOHN,$JANE
>  
> HOST=whatever SERVICE=whatever
>     MAIL $MYGROUP REPEAT=2h

Should work fine.


Regards,
Henrik