aklyuk / zabbix-emc-unity

Python script for monitoring EMC Unity strages
23 stars 22 forks source link

401 error #19

Open megatronov opened 5 months ago

megatronov commented 5 months ago

Hi. As a many people here, i got "unity_logger - ERROR - Connection Return Code = 401" in unity_state.log. The creds are right, i succesfully logging in with them to storage web interface. Did anyone find the solution?

String is "python3 unity_get_state.py --api_ip=172.5.5.5 --api_port=443 --api_user=monitoring --api_password=password123 --storage_name=DELL-EMC-SCv3020 --discovery".

TomaszSienko commented 4 months ago

Hi, we have encountered the same issue in the company. We found out that the problem was with both default python and a user role. We've changes the api_user role to Administrator and reseted the password to make sure it is correct one.

I see u used python3, please try with pyhton2.7 verion - that one helped us