Werk #13184: agent_netapp: Fix unhandled error "TypeError" causing the agent to break

Component Checks & agents
Title agent_netapp: Fix unhandled error "TypeError" causing the agent to break
Date Sep 1, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p10 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

In some circumstances, the NetApp API delivers XML data with invalid characters to the special agent agent_netapp. This event caused the agent to throw an error with the message "TypeError: cannot use a string pattern on a bytes-like object". It stopped and could not write out any section. This has been fixed.

To the list of all Werks