monit-general
[Top][All Lists]
Advanced

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

Re: no email on resource limit passed


From: Martin Pala
Subject: Re: no email on resource limit passed
Date: Wed, 15 Nov 2006 23:49:47 +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

This should should be quite easy to implement - we can add the 'none' option to disable the alerts in such setups.

Even configuration workaround is possible already with monit:

When the global alert is set, the service may override the setup localy. When you want to it for some particular service, you can just choose some event which won't occure or occures rarely, for example:

--8<--
set alert address@hidden

check host ...
  alert address@hidden on {timeout}
--8<--

In the case of the check host the address@hidden will receive the alert just on monitoring timeout (privided the timeout statement is used to disable monitoring on excesive service failures/recovery attempts). Other services will inherite the global address@hidden setting which allows all alerts to be delivered.

Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]