Hello,

yes, see Monit 5.4 changelog:

--8<--
* 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
  event.
--8<--

Besy regards,
Martin


> On 19 Feb 2018, at 16:47, Eric Pailleau <e.paill...@numlog.fr> wrote:
> 
> Hello,
> 
> we see a difference in monit regular expression check  of a file.
> 
> On former monit version looks like monit did a command on each line found,
> while using  version 5.9 we got a command with all the lines matching since 
> file increased its size.
> 
> Is there a way to have former behaviour ?
> 
> regards
> 
> Eric
> 
> 
> 
> -- 
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general


-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to