Werk #18260: agent_netapp_ontap: Fail gracefully if the NetApp system is in a degraded state

Component Checks & agents
Title agent_netapp_ontap: Fail gracefully if the NetApp system is in a degraded state
Date Jul 8, 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.0p8 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p35 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When the cluster was in a degraded state, the agent crashed because the NetApp Python package raised an exception:

"exc_type": "NetAppRestError",
"exc_value": "Caused by ValidationError({'state': ['\"info not available (node not reachable)\" is not one of [\\'up\\', \\'down\\', \\'degraded\\']']})",

From this werk, we are gracefully failing in case fetching ports would raise the same exception, and we communicate to the user that the cluster is probably in a degraded state.

To the list of all Werks