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} = [email protected]
- {$PASSWORD} = xxxxx
I can connect with this account on vsphere web client. I also try with [email protected], 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"
Try to define the username as MYDomain\MyUser
E.g.
Zabbix has a bug if you use @ in the username.
Too stupid ... Typo error with "{$USERNAME}" ...