1

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"

2 Answers 2

2

Try to define the username as MYDomain\MyUser

E.g.

{$USERNAME}  => "vsphere.local\monitoring"

Zabbix has a bug if you use @ in the username.

1
  • I have already try it, but it fail also ...
    – griotteau
    Jul 30, 2014 at 14:31
1

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

1
  • Okay, I have updated mine with $ instead of # - but I had problems with the @ in username, and when switching to the domain\username, it began to work again. Jul 31, 2014 at 6:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .