Werk #18012: Netapp environment sensors: handling states different from normal
Component | Checks & agents | ||||||
Title | Netapp environment sensors: handling states different from normal | ||||||
Date | Apr 30, 2025 | ||||||
Level | Trivial Change | ||||||
Class | Bug Fix | ||||||
Compatibility | Compatible - no manual interaction needed | ||||||
Checkmk versions & editions |
|
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.