Open Diga1129 opened 3 months ago
Hi @Diga1129, as i mentioned in different issue, you can try to run the script with python2.7 version and also try to change the user role and password. So install python2.7 and then run the script with pyhton2.7 ./unity_get_state.py......
I encountered the same problem. Currently, even with curl, I'm getting a 401 error. However, since there is a UI on the machine, I can connect successfully using a browser on it, so I'm ruling out any network issues. Account login is also not a problem. However, even when using the command:
bash Copy code ./unity_get_state.py --api_ip='X.X.X.X' --api_port='443' --api_user='zabbix' --api_password='PASSWORD' --storage_name="zabbix web前端配置的主机名" --discovery I still receive a 401 error.
Could you provide some suggestions for resolving this issue?