Vmware credential errors with zabbix check

vmware-esxivmware-vspherezabbix

I want to monitor my vmware infrastructure with Zabbix.

I follow https://www.zabbix.com/documentation/2.2/manual/vm_monitoring, but i doesn't have any new hosts or VM

i have this error in log :

Item [VCENTER.mydomain.lan:vmware.version[{$URL}]] error: Unable to make a connection because the user name or password is incorrect

My configuration :

- Zabbix 2.2.5 (installed via RPM on a Centos 6.5)
- vcenter 5.5 (self-signed certificate)

- StartVMwareCollectors = 1
- VMwareCacheSize = 16M
- VMwareFrequency = 60

- {$URL} = https://VCENTER.mydomain.lan/sdk
- {$USERNAME} = monitoring@vsphere.local
- {$PASSWORD} = xxxxx

I can connect with this account on vsphere web client. I also try with administrator@vsphere.local, and my AD account.
I also try on the ESXi (with the root account).

curl -k -I https://VCENTER.mydomain.lan/sdk give me "HTTP/1.1 400 Bad Request"

Best Answer

Too stupid ... Typo error with "{$USERNAME}" ...

Related Topic