-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
17040 FIX agent_netapp_ontap: KeyError: 'used'
SUP-20332 Change-Id: I7215a9420c469ddc21a39162c0ce8e015932db90
- Loading branch information
Showing
5 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[//]: # (werk v2) | ||
# agent_netapp_ontap: KeyError: 'used' | ||
|
||
key | value | ||
---------- | --- | ||
date | 2024-10-09T16:23:37+00:00 | ||
version | 2.3.0p20 | ||
class | fix | ||
edition | cre | ||
component | checks | ||
level | 1 | ||
compatible | yes | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters