Werk #17030: huawei_osn_laser: Fix parsing issue

Komponente Checks & agents
Titel huawei_osn_laser: Fix parsing issue
Datum 17.06.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.4.0b1 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.

Zur Liste aller Werks