aklyuk / zabbix-emc-unity

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

return code 2 #10

Open jbollman7 opened 3 years ago

jbollman7 commented 3 years ago

I was previously getting return code 1000, i then looked at the apidocs for my box /apidocs/index.html. I realized many things the script looks for is not there (battery fcPort, and a handful of other items). I then removed those. It is printing the status code 2.

Any help would be greatly apprecaited. thank you!

[root@localhost zabbix-emc-unity]# ./unity_get_state.py --api_ip=10.171.87.59 --api_port=443 --api_user=admin --api_password=Unity123! --storage_name=VIRT19132R5N2G --status

2

proffust commented 2 years ago

Host with name VIRT19132R5N2G added to zabbix?