Werk #18013: agent_prism: handle connection timeouts gracefully

Component Checks & agents
Title agent_prism: handle connection timeouts gracefully
Date May 2, 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.0p1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p32
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The Nutanix Prism agent crashed if a connection timeout occurred with:

File "/omd/sites/site_name/lib/python3.12/site-packages/requests/adapters.py", line 713, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='10.254.254.10', port=9440): Read timed out. (read timeout=10)CRIT

As of this change, when a timeout is reached the Check_MK service will instead go CRIT and display a user-friendly message in the GUI.

To the list of all Werks