Werk #14550: mk_logwatch via bakery: Add APPEND option for message classification

Komponente Agent bakery
Titel mk_logwatch via bakery: Add APPEND option for message classification
Datum 04.08.2022
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk-Version 2.0.0p28 2.1.0p10 2.2.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

The mk_logwatch agent plugin can be deployed via the agent bakery (ruleset Text logfiles (Linux, Solaris, Windows)). In this ruleset, users can specify regular expressions for processing log messages. Before this werk, users could specify regular expressions to classify messages (OK/WARNING/CRITICAL), to ignore messages and to rewrite messages.

As of this werk, users can additionally specify regular expressions to combine multiple log lines into a single message via the APPEND option, see the help of the bakery ruleset for details. One use case for this is the processing of multi-line stack traces.

Note that this feature was already supported by the mk_logwatch agent plugin before this werk, but it was not configurable via the agent bakery.

Zur Liste aller Werks