Werk #16606: agent_netapp_ontap: handle shelves without elements

Component Checks & agents
Title agent_netapp_ontap: handle shelves without elements
Date Apr 10, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b6 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p26 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The agent did not handle the cases where shelves had no fans, temperature sensors or PSUs. This led to crashes during the agent execution.

With this werk we now correctly handle these scenarios and the corresponding services are not discovered if no items are found.

To the list of all Werks