Checkmk 2.0 is here! See what's new.

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

Component Checks & Agents
Title windows agent: unicode logfile monitoring: now able to detect incomplete written lines
Date Oct 1, 2014
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 1.2.5i6
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks