aklyuk / zabbix-emc-unity

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

What does it mean to return code 2? #6

Closed taizi19881227 closed 4 years ago

taizi19881227 commented 4 years ago

Hi Unity400,Execute your script to return code 2, the "get health state" item and "get discovery" item collected is 2. The log indicates that the login was successful, I can't collect the automatically discovered monitoring items. ./unity_get_state.py --api_ip=xxx.xxx.xxx.xxx --api_port=443 --api_user=username_on_storagedevice --api_password='password' --storage_name="storage-name_in_zabbix" --discovery return code 2 Can you help me? Regards

Vinikober commented 4 years ago

Same return here.

taizi19881227 commented 4 years ago

I've solved it. create host: The value of "Host name" is EMC's storage_name