Xymon Mailing List Archive search

Combining Macros in alerts.cfg EXHOST?

list Betsy Schwartz
Tue, 27 Nov 2012 21:16:13 -0500
Message-Id: <user-2fb1938e1a46@xymon.invalid>

On Tue, Nov 27, 2012 at 6:55 PM, Jeremy Laidman
<user-71895fb2e44c@xymon.invalid> wrote:
   $NOPAGE=(^.*eng|^netmon2).example.com
   $VIP=(^web|^ftp|^mail-relay).example.com|web-vip|mail-vip
   HOST=* EXHOST=%($NOPAGE|$VIP) ...
OK that does work thank you!!

(funny, that's what I thought I'd tested FIRST... maybe there was a
second error that I created and eliminated along the way. My eyes are
starting to glaze over with this rewrite, but I've gotten the
alerts.cfg down to 81 active lines from 133.... and that includes
several new additions)