Werk #10471: mk_logwatch: Add option to limit context

Komponente Checks & agents
Titel mk_logwatch: Add option to limit context
Datum 06.11.2019
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0i1
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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".

Zur Liste aller Werks