Werk #17311: mk_logwatch: Apply context to informational (OK) messages

Component Checks & agents
Title mk_logwatch: Apply context to informational (OK) messages
Date Oct 2, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p18 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p35 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

With the maxcontextlines option the output of the mk_logwatch agent plugin can be reduced to a certain number of lines before and after relevant messages. Previously the messages were seen as relevant if they had the level W(warning) or C(critical). With this werk messages that are marked with O (OK/informational) are also considered relevant and will have the context applied.

To the list of all Werks