We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #10471: mk_logwatch: Add option to limit context

ComponentChecks & Agents
Titlemk_logwatch: Add option to limit context
Date2019-11-06 09:00:55
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version2.0.0i1
LevelTrivial Change
ClassNew Feature
CompatibilityCompatible - no manual interaction needed

If the plugin mk_logwatch is configured to send context along with found messages, the amount of data can become quite large. This werk adds the option of limiting the context given for every warning or critical message to a given number of lines befor and after the message. For instance, to limit the context to 3 lines before and four lines after the message, set the option "limitcontext=3,4".

This option can be configured using the WATO rule "Text logfiles".