[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hobbit-alert.cfg: grouping recipients using macros
- To: <hobbit (at) hswn.dk>
- Subject: hobbit-alert.cfg: grouping recipients using macros
- From: "Haertig, David F (Dave)" <haertig (at) avaya.com>
- Date: Wed, 13 Jun 2007 18:09:15 -0600
- Thread-index: AceuGD58w3kQOu2WRT2Dhpp3ohxzlA==
- Thread-topic: hobbit-alert.cfg: grouping recipients using macros
In the hobbit-alerts.cfg file, can you group recipients using macros?
The help file only has examples for directives that use equal signs
(e.g., HOST=%$MYHOSTS). The MAIL and SCRIPT directives have their first
parameter defined as "a recipient", which doesn't necessarily imply that
they'll accept a comma seperated list of recipients (although I expect
they might well do this).
Example:
$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
HOST=somethingelse SERVICE=somethingelse
MAIL $OTHERGROUP REPEAT=2d