Active2 years, 5 months ago
I have an ESXi which contains some VMs. I want to use the built in template 'Template Virt VMware' in zabbix to discover all VMs and their related Items, but I don't know what should I write for {$URL} in MACROS!!I googled and found that I should write the webservice SDK url. But what is the correct url?I use the following:
It is possible to monitor almost all aspects of a VMWare ESXi 6.0 and ESXi 5.5.0 Hosts and Guests, in a way never seen before on Zabbix. ESXi 5.0.0 also works, but with some limitations. This work is derived from original Check_MK Agent (of course), and from some Zabbix internal VMWare support.
https://serverip/sdk/vimService.wsdl in which 'serverip' is the ip of the ESXi but it didn't work!
Any help is appreciated.
SinaiSinai
1 Answer
According to the documentation you can't monitor vms on the server using this method.
In this method you should enter
https://esxi-server-ip/sdk
for {$URL}
![Agent Agent](/uploads/1/2/6/2/126292770/416462613.jpg)
It will manitor your esxi host it self, for manitoring the virtual machines, you should to install
zabbix agent
on them or use something like snmp
or ipmi
for each of themM.A. Heshmat KhahM.A. Heshmat Khah
![Download Install Zabbix Agent On Esxi 5 Download Install Zabbix Agent On Esxi 5](/uploads/1/2/6/2/126292770/716494904.jpg)
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Install Zabbix Agent On Ubuntu
Not the answer you're looking for? Browse other questions tagged web-serviceswsdlzabbixesxi or ask your own question.
This external check plugin allows to monitor a standalone VMware ESXi through the built-in CIM interface. There are a few other plugins out there that let you accomplish the same, mostly for Nagios or similars.
What is unique about this plugin is that it massively leverages the powerful low-level discovery features available in Zabbix.
Installation
For this setup to work, you would first need to create a user with CIM interaction permissions on your ESXi(s).
In order to accomplish that, execute the following snippet on your ESXi server(s). If you deploy your ESXi server(s) using kickstart, you can optionally add the snippet to your template so that every newly-deployed box will get it.
Note: the user must be part of the root group, else it won't be able to access the CIM interface even though it has the permissions to do so.
Before importing the XML template through the web interface, you can optionally add the following value mappings into Zabbix (this is really for cosmetic reasons, mainly to make latest data look prettier and errors a bit more human friendly).
Since Zabbix 3 mappings can be exported and imported. Import mappings xml in 'mappings'.
The template relies on two main macros: {#VMWARE_USER} and {#VMWARE_PASSWORD}. Given that, you need to make sure they are defined either at the global level, template level or host level.
Screenshots
Dashboard example:
Latest data hardware monitoring (discovered via LLD):
Hypervisor monitoring using Zabbix built-in simple checks:
Contact
Download Install Zabbix Agent On Esxi 5s
Matteo Cerutti - [email protected]