Werk #5412: Windows agent: fix logfile glob patterns without '*' at the end

Komponente Checks & agents
Titel Windows agent: fix logfile glob patterns without '*' at the end
Datum 24.11.2017
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.4.0p21 1.5.0i2
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

Windows logfile patterns have required a wildcard '' at the end in order to work correctly. It was not possible to require an exact match to the end of a line without wildcard '' at the end. The reason was a carriage-return (CR) character at the end of each read line that prevented a match unless a '*' was present at the end of the pattern.

Now also patterns without a wildcard '*' at the end work correctly.

Zur Liste aller Werks