[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] how to define a catch-all in hobbit-alerts.cfg



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 <tkaehn (at) netcologne.de>
To: hobbit (at) hswn.dk <hobbit (at) hswn.dk>
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