NetApp via Ontap REST API doesn't work with AWS FSX

CMK version:2.4.0p8
OS version: debian 12

Error message: [special_netapp_ontap] netapp_ontap.error.NetAppRestError: Caused by HTTPError('403 Client Error: Forbidden for url: [(https://Internal_IP_Adress/api/cluster/sensors?fields=name%2Cnode.name%2Ctype%2Cvalue%2Cwarning_high_threshold%2Cwarning_low_threshold%2Ccritical_high_threshold%2Ccritical_low_threshold%2Cdiscrete_state%2Cdiscrete_value%2Cthreshold_state%2Cvalue_units&type=thermal%7Cfan%7Cvoltage%7Ccurrent%27):slight_smile: not authorized for that commandCRIT** , [piggyback] Success (but no data found for this host), execution time 4.9 sec**

Hello guys,

It seems the last integration for Netapp doesn’t work properly with AWS FSX.
/api/cluster/sensors require a higher privilege than what we have with the fsxadmin and ends up with a “not authorized for that command” command.

Do you have any workaround for that ?

Regards,

Alexis

just responding to myself, if that can help someone else:
After checking the file /omd/sites/XXXXX/lib/python3/cmk/special_agents/agent_netapp_ontap.py script,
I can see that only the script will fail only if we request Environment Sensors in Setup-> Agents->Other integrations->NetApp via Ontap REST API.