Werk #17040: agent_netapp_ontap: KeyError: 'used'
Component | Checks & agents | ||||
Title | agent_netapp_ontap: KeyError: 'used' | ||||
Date | Oct 9, 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 287, in fetch_luns
space_used=element_data["space"]["used"],
KeyError: 'used
If this happens now, the state of the check will be 'UNKN' and the summary will contain a suggestion that the space used is not available.
It is important to note that we have not been able to reproduce the problem where the lun volume does not provide information about how much space is used. Therefore, other errors may occur in this scenario that cannot be addressed by this werk. Please report such problems so that we can address them.