Werk #17325 · Nov 15, 24
netapp_ontap: KeyError: 'status'
This change affects users monitoring NetApp through the Ontap REST API. Previously the special agent might crash with the following error
File "/omd/sites/IDT_Dessau/lib/python3/cmk/special_agents/agent_netapp_ontap.py", line 296, in fetch_luns
read_only=element_data["status"]["readonly"],
KeyError: 'status'
Now the agent handles the absence of the data and in this case shows the read_only status as 'unknown'.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.4.0b1All Editions
- 2.3.0p23CommunityProUltimateUltimate + MT