zabbix configure automatic discovery of virtual machine vmware Vcenter

Configuration zabbixServer

Zabbixserver edit the configuration file, the default configuration file /etc/zabbix/zabbix_server.conf

Change parameters:

parameter Do you have to Ranges Defaults Parameter Description
VMwareCacheSize no 256k-2G 8M VMware shared memory size to store data.
Note that if no configuration and start collecting vmware instance, the shared memory will not be allocated. \\ from Zabbix 2.2.0 supports this argument.
VMwareFrequency no 10-86400 60 How many seconds service interval data collected from a single VMware. \\ update any minimum period of VMware monitoring items are greater than or equal to the time.
From Zabbix 2.2.0 supports this argument.
VMwarePerfFrequency no 10-86400 60 How many seconds from a single VMware service to retrieve performance counter statistics interval.
From Zabbix 2.2.9, 2.4.4 or later supports this argument.
VMwareTimeout no 1-300 10 vmware collector waits for VMware Service (vCenter or ESX hypervisor) in response to the maximum length of time.
From Zabbix 2.2.9, 2.4.4 or later supports this argument.

Configuration Templates

zabbix already preset vmware monitoring template, you need to configure the configuration information in the template vcenter

Edit the template, add the macro information

{$ PASSWORD} password is Vcenter

{$ USERNAME} username to Vcenter

{$ URL} Vcenter of the SDK address format https: // ip: port / sdk

 

Configuring automatic discovery rules

Add a rule of automatic discovery

Configuration actions

Configuring a host and add actions associated with the template

operations to add the host and associated template

At last

After a period of time you can see the host information has been found in the host discovery list

 

 

Guess you like

Origin blog.csdn.net/m0_37970252/article/details/91351828