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

Henrik Stoerner henrik at hswn.dk
Thu Jun 14 07:35:57 CEST 2007


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




More information about the Xymon mailing list