| Newsgroups |
gmane.comp.monitoring.monit.general |
| Message-ID |
<[email protected]> |
Hello Eric,
yes, you can set the content buffer size: https://mmonit.com/monit/documentation/monit.html#LIMITS
Best regards,
Martin
> On 22 Feb 2018, at 12:45, Eric Pailleau <[email protected]> wrote:
>
> Hello,
>
> Looks like content match buffer is not more than 6 lines in our case,
> while some more entries was in the log when monit was executed.
>
> Is there a configuration option that limit this buffer ?
> REgards
>
>
> Le 21/02/2018 à 12:53, Eric Pailleau a écrit :
>> Hello,
>> this is a problem actually for us.
>>
>> We tried to do a workaround by treating several lines given as argument to our scripts,
>> but looks like monit miss some lines when already executing a command on a match.
>>
>> Some new lines added in same time slot as not treated, even if we immediately background
>> the script for an immediate return.
>> Or there is maybe a limit on number on lines treated at once ?
>>
>> Any idea to solve our issue ?
>>
>> regards
>>
>>
>> Le 19/02/2018 à 23:37, [email protected] <mailto:[email protected]> a écrit :
>>> 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 <[email protected]> <mailto:[email protected]> 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 <https://lists.nongnu.org/mailman/listinfo/monit-general>
>>
>>
>> --
>>
>>
>>
>
>
> --
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general