

Using low-level discovery on “ Template VM VMware” which is linked to the main Zabbix host (created by user) that detects clusters, hypervisors, and virtual machines.Zabbix VMware templates monitor datastores in two ways:

Step 5: Optimize VMware Datastore monitoring in Zabbix

Delete vm esxi 6.5 windows#
Check out this step-by-step Linux and Windows server monitoring guide. With the Zabbix agent, you can monitor virtually anything at the OS level. Note, consider using the Zabbix agent for server monitoring and disabling limited VMware guest virtual machine discovery. There are few things to note about the datastore monitoring, but more about that in the next step. However, they still belong to an existing host and will take the IP address of the existing host. When hypervisor and virtual machines are discovered, those prototypes become actual hosts are added to the host groups “Hypervisors” and “Virtual machines” respectively. Now, those templates have their own low-level discovery so within an hour they will start to discover datastores, disks, filesystems, network interfaces on the newly created hosts. Within an hour, Zabbix low-level discovery (LLD) feature will start discovering VMware ESXi hypervisors, datastores, clusters, and VMs.Īnd now comes the key part, using his low-level discovery host prototype feature Zabbix will create a host for each VMware ESXi hypervisor and virtual machine (VM) and set the appropriate template on them respectively. Note that in the latest VMware templates, macros are configured on the template “ Template VM VMware macros“. VMwareTimeout 1-300 (60) The maximum number of seconds Zabbix vmware collector proccess will wait for a response from VMware service (ESXi hypervisor or vCenter).Īs you can see in the picture, after the user has created a host (with the appropriate template and macros), Zabbix will start collecting data over the VMware API service (SOAP).

Delete vm esxi 6.5 update#
This delay should be set to the least update interval of any VMware monitoring item that uses VMware performance counters. VMwarePerfFrequency 10-86400 (60) Delay in seconds between performance counter statistics retrieval from a single VMware service. This delay should be set to the least update interval of any VMware monitoring item. VMwareFrequency 10-86400 (60) Delay in seconds between data gathering from a single VMware service. Start with 32M and then increase VMware cache size gradually if it is utilized more than 60%. You can view how much cache is utilized on the graph “ Zabbix cache usage, % used” on the “ Zabbix server” host. VMwareCacheSize 256K-2G (8M) Shared memory size for storing VMware data. In most cases, this value should not be less than 2 and should not be 2 times greater than the number of VMware services that you monitor. Where servicenum is the number of VMware services, for example, if you have 1 VMware service to monitor set StartVMwareCollectors to 2, if you have 3 VMware services, set it to 5. Use this formula to calculated required StartVMwareCollectors: servicenum < StartVMwareCollectors < (servicenum * 2). This value depends on the number of VMware services you are going to monitor. Parameter Range (default) Description StartVMwareCollectors 0-250 (0) Number of pre-forked vmware collector instances.
