Werk #17030: huawei_osn_laser: Fix parsing issue

Component Checks & agents
Title huawei_osn_laser: Fix parsing issue
Date Jun 17, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p7 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p28 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Fixed a parsing issue in the huawei_osn_laser check plugin. The problem appeared every time a serivce was supposed to have an OK state and caused the check plugin to crash, and thus not deliver any result. The crash report ended with this line: C+: if "\n" in subresult[1]: C-: This has now been fixed.

To the list of all Werks