|
From: | Martin Pala |
Subject: | Re: no email on resource limit passed |
Date: | Tue, 05 Dec 2006 01:52:21 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060809 Debian/1.7.13-0.3 |
Andreas Meyer wrote:
Martin Pala schrieb:inherited recipient). You can register just subset of events if you want to as described in monit manual thus omitting the 'resource' type will fix the issue (it will be handled by the exec action).But it would be nice to define a global alert for all events and disable some checks with a "set alert to none". It this to heavy to implement or not in the basic concept from monit? beat regards andy
... implemented, will be part of next monit release. Excerpt from CHANGES: --8<-- NEW FEATURES AND FUNCTIONS: * The NOALERT statement added, which allows to disable the alerts localy for particular recipient and service. Useful for example when you have alert recipient set globaly but don't want to receive alerts for some part of services. Syntax: noalert <mail-address> * The ALERT statement was extended by the possibility to negate the optional event filter. Syntax: [set] alert <mail-address> not '{' <event>... '}' Example: set alert address@hidden but not on { restart } Will send all alerts to address@hidden for all services and events except the restart event (global usage). Note that noise words 'but' and 'on' are optional. --8<-- Martin
[Prev in Thread] | Current Thread | [Next in Thread] |