Closed ghost1988 closed 4 years ago
Hi : I try it again,it still can not work.
2019-10-16 18:09:37,306 - unity_logger - ERROR - Connection Return Code = 401
[root@infrazabbix zabbix-emc-unity]# ./unity_get_state.py --api_ip=10.224.19.21 --api_port=443 --api_user=admin --api_password='**' --storage_name="-unity550f" --discovery
Traceback (most recent call last):
File "./unity_get_state.py", line 12, in
########
Hi , could you please help on this issue ?
[root@infrazabbix zabbix-emc-unity]# ./unity_get_state.py --api_ip=10.224.19.21 --api_port=443 --api_user=admin --apipassword='**' --storage_name="_-unity550f" --discovery Traceback (most recent call last): File "./unity_get_state.py", line 12, in import requests ModuleNotFoundError: No module named 'requests'
########
Hi , could you please help on this issue ?
You did not install the requests library. Use the following method to install: [root@infrazabbix zabbix-emc-unity]# pip install requests
Hi :
2019-10-16 14:17:41,017 - unity_logger - ERROR - Connection Return Code = 401