Xymon Mailing List Archive search

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

list Thomas Kähn
Wed, 21 Oct 2009 08:29:38 +0200
Message-Id: <20091021062938.GC3364@sys-100>

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
-- 
Thomas Kähn
Technik, Network Engineering & Design; Content Delivery Platform & IP
NETCOLOGNE Gesellschaft für Telekommunikation mbH
Am Coloneum 9 | 50829 Köln
Tel: XXXX XXXX-XXXX | Fax: XXXX XXXX-XXXXX
www.netcologne.de

Geschäftsführer:
Werner Hanf
Dipl.-Ing. Karl-Heinz Zankel

HRB 25580, AG Köln


Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sollten
Sie diese Nachricht versehentlich erhalten haben, bitten wir, den
Absender (durch Antwort-E-Mail) hiervon unverzüglich zu informieren
und die Nachricht zu löschen. Die E-Mail darf in diesem Fall weder
vervielfältigt noch in anderer Weise verwendet werden.