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

Komponente Checks & agents
Titel mk_logwatch: Apply context to informational (OK) messages
Datum 02.10.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
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.

Zur Liste aller Werks