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 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.0.0p10 2.1.0b1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
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.