Werk #4858: omd_apache data collection: fixed issues caused by missing newline at the end of statsfile(s)

Component Checks & agents
Title omd_apache data collection: fixed issues caused by missing newline at the end of statsfile(s)
Date Jun 14, 2017
Level Prominent Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.5.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.4.0p6 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.8p24 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Sometimes the apache statsfile(s) can miss a newline at the end of the file. This caused the following known issues:

  • missing agent section directly after omd_apache section - because the section header was starting in the same line as the omd_apache section's last line
  • crashed omd_apache check because of missing data

To the list of all Werks