[Top][All Lists]

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

RE: Single email from multiple related content matches

From: Kevin Smith
Subject: RE: Single email from multiple related content matches
Date: Sat, 10 Feb 2018 15:33:34 +0000

I'm on 5.1, looks like I need to upgrade

-----Original Message-----
From: monit-general [mailto:address@hidden On Behalf Of address@hidden
Sent: Thursday, February 08, 2018 1:56 PM
To: This is the general mailing list for monit
Subject: Re: Single email from multiple related content matches


which Monit version it is? (monit -V)

The Monit 5.4 or later should send only one email if the pattern matches 
multiple times in one cycle, changelog excerpt:

* The content match test now sends one event per cycle and pattern.
  Even if there are multiple lines matching the same pattern, only
  one event will be generated. Also the event rate is fixed now, so
  it is possible to require match for X cycles before generating the

If you have different patterns/tests, then Monit will send one email per test. 
The emails can be aggregated for example using M/Monit, which can collect 
events from Monit agents and aggregate:

Best regards,

> On 8 Feb 2018, at 19:23, Kevin Smith <address@hidden> wrote:
> I have a content match set up for instance IF match “foo” within 1 
> cycle then alert (email).
> But if “foo” matches 14 times in the same cycle, it sends 14 emails.  Is 
> there a way to make it only send 1 email, either for the 1st (or last) match 
> during that cycle, or 1 email with at 14 matches (preferred)?
> Thanks!
> --
> To unsubscribe:

To unsubscribe:

NOTICE: This email message is for the sole use of the intended recipient(s) and 
may contain confidential and privileged information. Any unauthorized use, 
disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply email and destroy all copies of 
the original message.

reply via email to

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