Werk #16606: agent_netapp_ontap: handle shelves without elements

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

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