Werk #16765: agent_netapp_ontap: fix crash in call without arguments

Component Checks & agents
Title agent_netapp_ontap: fix crash in call without arguments
Date May 14, 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.0p4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p27 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The agent was crashing when called manually from the command line without any arguments. Now the agent fails gracefully in such case.

To the list of all Werks