Werk #18012 · Apr 30, 25
Netapp environment sensors: handling states different from normal
The special agent crashed when monitoring sensors in a state other than normal
because they did not report the value field:
File "/omd/sites/site_name/lib/python3/cmk/special_agents/agent_netapp_ontap.py", line 720, in fetch_environment
value=element_data["value"],
~~~~~~~~~~~~^^^^^^^^^
KeyError: 'value'(!!)
From this werk, any sensor with a status other than normal will have the service in CRIT status
and the specific api-reported state will be displayed in the service summary.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.5.0b1All Editions
- 2.4.0p1All Editions
- 2.3.0p33CommunityProUltimateUltimate + MT