Re: Single email from multiple related content matches

2018-02-08 Thread mart...@tildeslash.com
Hi, 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: --8<-- * The content match test now sends one event per cycle and pattern. Even if there are multiple lines matching the same

Single email from multiple related content matches

2018-02-08 Thread Kevin Smith
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