Xymon Mailing List Archive search

how to define a catch-all in hobbit-alerts.cfg

list Bill Wagner
Thu, 22 Oct 2009 10:16:08 -0500
Message-Id: <user-71e5421ca417@xymon.invalid>

I will be able to define subpages and create rules matching against them.

thanks

-------- Original Message --------
Subject: Re: [hobbit] how to define a catch-all in hobbit-alerts.cfg
From: Bill Wagner <user-5db7d172e22d@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Date: 10/22/2009 8:22 AM
I agree that would simplify things.  However we are using (inherited from Big Brother) fairly heterogeneous PAGEs.
Bill

-------- Original Message --------
Subject: Re: [hobbit] how to define a catch-all in hobbit-alerts.cfg
From: Thomas Kähn <user-04e2bc8a3755@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
Date: 10/21/2009 1:29 AM
Hi Bill,

On Tue, Oct 20, 2009 at 10:50:08PM +0200, Bill Wagner wrote:
  
I have rules defined for many of my 300+ hosts ( a mix of windows and unix servers scattered throughout, and interleaved across,  multiple pages.  I want to define a default rule for hosts so that, for example, every conn alert goes to my unix administrators.  I have experimented with several solutions which do not yield the desired result.  e.g.:

HOST=* EXHOST=<>  # I can't explicitly list all hosts (too many) and tried macros consisting of wildcard host names
   MAIL ...

HOST=* EXHOST=<>
    MAIL ... UNMATCHED

if I use only HOST=* then I end up with multiple (sometimes redundant) recipients for some hosts and no recipients for hosts not previously explicitly defined.
    
simply group the servers on different pages and match using PAGE=...

Best regards
Thomas