Werk #18691: netapp_ontap_aggr: handle missing aggregates gracefully
Component | Checks & agents | ||||||
Title | netapp_ontap_aggr: handle missing aggregates gracefully | ||||||
Date | Oct 1, 2025 | ||||||
Level | Trivial Change | ||||||
Class | Bug Fix | ||||||
Compatibility | Compatible - no manual interaction needed | ||||||
Checkmk versions & editions |
|
The NetApp ONTAP special agent could crash with the following error:
File "/omd/sites/main/lib/python3.12/site-packages/netapp_ontap/utils.py", line 78, in on_api_fail
raise NetAppRestError(cause=erro) from None
netapp_ontap.error.NetAppRestError: Caused by HTTPError('404 Client Error: Not Found for url: https://host:443/api/storage/aggregates/aggr_id?fields=name%2Cspace.block_storage.available%2Cspace.block_storage.size'): entry doesn't exist(!!)
This occurs when the aggregate cannot be queried, for example, if it is connected to a defective machine.
From this werk, the agent will skip that aggregate and continue, and the respective service will enter a WARN state, indicating a missing item.