hobbit-alert.cfg: grouping recipients using macros

Haertig, David F (Dave) haertig at avaya.com
Thu Jun 14 02:09:15 CEST 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070613/d499bdb2/attachment.html>


More information about the Xymon mailing list