Werk #18683: Ignore more blank lines when bulk importing hosts from a CSV file

Component Setup
Title Ignore more blank lines when bulk importing hosts from a CSV file
Date Sep 23, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p14
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p39
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When doing a bulk import of hosts via the Hosts settings page in the UI, in most cases, empty lines are ignored. However, due to a bug in parsing, empty lines in certain locations in the file (before the title line if a title line is being used, and before the first row containing host data), would cause parsing to fail.

This Werk fixes that and now empty lines are also ignored in these places.

To the list of all Werks