Hello for every one.
I have HP Smart Array P410 controller.
I try to receive info about the raid status via esxcli.
On Zabbix Server:
sudo -u zabbix esxcli --server "my_host_ip" ssacli cmd -q "ctrl all show status" >> STATUS.txt
If I run this in shell everything is good and work perfect.
But if I use zabbix external check function: hp-array-esxi.sh[{HOST.IP}]
I have error:
Runtime error: coercing to Unicode: need string or buffer, NoneType found
Anybody use esxcli in external script ?
And how to debug this error? Zabbix_server.log look good:
In zbx_popen() command: '/usr/lib/zabbix/externalscripts/hp-array-esxi.sh "my_host_ip"
Or maybe somebody know another way how to receive raid info without use login/password. esxcli use credential store, it is not perfect but enough for me.
I listed about hp management agents for vSphere + SNMP, but I can't find it..
System Info: CentOS 6.7 x64 + Zabbix 2.2.12 / HP ProLiant DL180 G6 + vSphere 5.5 U3
I have HP Smart Array P410 controller.
I try to receive info about the raid status via esxcli.
On Zabbix Server:
sudo -u zabbix esxcli --server "my_host_ip" ssacli cmd -q "ctrl all show status" >> STATUS.txt
If I run this in shell everything is good and work perfect.
But if I use zabbix external check function: hp-array-esxi.sh[{HOST.IP}]
I have error:
Runtime error: coercing to Unicode: need string or buffer, NoneType found
Anybody use esxcli in external script ?
And how to debug this error? Zabbix_server.log look good:
In zbx_popen() command: '/usr/lib/zabbix/externalscripts/hp-array-esxi.sh "my_host_ip"
Or maybe somebody know another way how to receive raid info without use login/password. esxcli use credential store, it is not perfect but enough for me.
I listed about hp management agents for vSphere + SNMP, but I can't find it..
System Info: CentOS 6.7 x64 + Zabbix 2.2.12 / HP ProLiant DL180 G6 + vSphere 5.5 U3