Werk #1122: windows agent: unicode logfile monitoring: now able to detect incomplete written lines

Komponente Checks und Agenten
Titel windows agent: unicode logfile monitoring: now able to detect incomplete written lines
Datum 01.10.2014
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 1.2.5i6
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

There were instances where a logline was not fully written to a UTF-16 (unicode) encoded file. For example:

C:\some\log\file.log
This is the first line
This is the sec

In this scenario the agent is not allowed to parse the second line, because it has not been fully written to disk yet. A complete line is considered to be finished with a carriage return followed by a newline.

With this update the agent now stops parsing after the first line and continues at the start of the second line on the following agent query. Note: This only applies to UTF-16 encoded files.

Zur Liste aller Werks