Werk #17325: netapp_ontap: KeyError: 'status'
Component | Checks & agents | ||||
Title | netapp_ontap: KeyError: 'status' | ||||
Date | Nov 15, 2024 | ||||
Level | Trivial Change | ||||
Class | Bug Fix | ||||
Compatibility | Compatible - no manual interaction needed | ||||
Checkmk versions & editions |
|
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'.