VMware

VMware develops virtualization software. Virtualization software creates an abstraction layer over computer hardware that allows the hardware elements of a single computer— processors, memory, storage, and more— to be divided into multiple virtual computers, commonly called virtual machines (VMs).

Available solutions




This template is for Zabbix version: 7.0

Source: https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/app/vmware?at=release/7.0

VMware

Overview

This template is designed for the effortless deployment of both VMware vCenter and ESX hypervisor monitoring and doesn't require any external scripts.

The "VMware Hypervisor" and "VMware Guest" templates are used by discovery and normally should not be manually linked to a host. For additional information please check https://www.zabbix.com/documentation/7.0/manual/vm_monitoring

Requirements

Zabbix version: 7.0 and higher.

Tested versions

This template has been tested on:

  • VMware 6.0

Configuration

Zabbix should be configured according to the instructions in the Templates out of the box section.

Setup

  1. Compile Zabbix server with the required options (--with-libxml2 and --with-libcurl)
  2. Set the StartVMwareCollectors option in Zabbix server configuration file to "1" or more
  3. Create a new host
  4. Set the host macros (on the host or template level) required for VMware authentication:
{$VMWARE.URL}
{$VMWARE.USERNAME}
{$VMWARE.PASSWORD}
  1. Link the template to host created earlier

Note: To enable discovery of hardware sensors of VMware Hypervisors, set the macro {$VMWARE.HV.SENSOR.DISCOVERY} to the value true on the discovered host level.

Macros used

Name Description Default
{$VMWARE.URL}

VMware service (vCenter or ESX hypervisor) SDK URL (https://servername/sdk)

{$VMWARE.USERNAME}

VMware service user name

{$VMWARE.PASSWORD}

VMware service {$USERNAME} user password

{$VMWARE.HV.SENSOR.DISCOVERY}

Set "true"/"false" to enable or disable monitoring of hardware sensors.

false
{$VMWARE.HV.SENSOR.DISCOVERY.NAME.MATCHES}

Sets the regex string of hardware sensor names to allow in discovery.

.*
{$VMWARE.HV.SENSOR.DISCOVERY.NAME.NOT_MATCHES}

Sets the regex string of hardware sensor names to ignore in discovery.

CHANGE_IF_NEEDED
{$VMWARE.DATASTORE.SPACE.CRIT}

The critical threshold of the datastore free space.

10
{$VMWARE.DATASTORE.SPACE.WARN}

The warning threshold of the datastore free space.

20

Items

Name Description Type Key and additional info
Event log

Collect VMware event log. See also: https://www.zabbix.com/documentation/7.0/manual/config/items/preprocessing/examples#filtering_vmware_event_log_records

Simple check vmware.eventlog[{$VMWARE.URL},skip]
Full name

VMware service full name.

Simple check vmware.fullname[{$VMWARE.URL}]

Preprocessing

  • Discard unchanged with heartbeat: 1d

Version

VMware service version.

Simple check vmware.version[{$VMWARE.URL}]

Preprocessing

  • Discard unchanged with heartbeat: 1d

LLD rule Discover VMware clusters

Name Description Type Key and additional info
Discover VMware clusters

Discovery of clusters

Simple check vmware.cluster.discovery[{$VMWARE.URL}]

Item prototypes for Discover VMware clusters

Name Description Type Key and additional info
Status of "{#CLUSTER.NAME}" cluster

VMware cluster status.

Simple check vmware.cluster.status[{$VMWARE.URL},{#CLUSTER.NAME}]

Trigger prototypes for Discover VMware clusters

Name Description Expression Severity Dependencies and additional info
The {#CLUSTER.NAME} status is Red

A cluster enabled for DRS becomes invalid (red) when the tree is no longer internally consistent, that is, resource constraints are not observed. See also: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-resource-management/GUID-C7417CAA-BD38-41D0-9529-9E7A5898BB12.html

last(/VMware/vmware.cluster.status[{$VMWARE.URL},{#CLUSTER.NAME}])=3 High
The {#CLUSTER.NAME} status is Yellow

A cluster becomes overcommitted (yellow) when the tree of resource pools and virtual machines is internally consistent but the cluster does not have the capacity to support all resources reserved by the child resource pools. See also: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-resource-management/GUID-ED8240A0-FB54-4A31-BD3D-F23FE740F10C.html

last(/VMware/vmware.cluster.status[{$VMWARE.URL},{#CLUSTER.NAME}])=2 Average Depends on:
  • The {#CLUSTER.NAME} status is Red

LLD rule Discover VMware datastores

Name Description Type Key and additional info
Discover VMware datastores Simple check vmware.datastore.discovery[{$VMWARE.URL}]

Item prototypes for Discover VMware datastores

Name Description Type Key and additional info
Average read latency of the datastore {#DATASTORE}

Amount of time for a read operation from the datastore (milliseconds).

Simple check vmware.datastore.read[{$VMWARE.URL},{#DATASTORE},latency]
Free space on datastore {#DATASTORE} (percentage)

VMware datastore free space in percentage from total.

Simple check vmware.datastore.size[{$VMWARE.URL},{#DATASTORE},pfree]
Total size of datastore {#DATASTORE}

VMware datastore space in bytes.

Simple check vmware.datastore.size[{$VMWARE.URL},{#DATASTORE}]
Average write latency of the datastore {#DATASTORE}

Amount of time for a write operation to the datastore (milliseconds).

Simple check vmware.datastore.write[{$VMWARE.URL},{#DATASTORE},latency]

Trigger prototypes for Discover VMware datastores

Name Description Expression Severity Dependencies and additional info
{#DATASTORE}: Free space is critically low

Datastore free space has fallen below critical threshold.

last(/VMware/vmware.datastore.size[{$VMWARE.URL},{#DATASTORE},pfree])<{$VMWARE.DATASTORE.SPACE.CRIT} High
{#DATASTORE}: Free space is low

Datastore free space has fallen below warning threshold.

last(/VMware/vmware.datastore.size[{$VMWARE.URL},{#DATASTORE},pfree])<{$VMWARE.DATASTORE.SPACE.WARN} Warning Depends on:
  • {#DATASTORE}: Free space is critically low

LLD rule Discover VMware hypervisors

Name Description Type Key and additional info
Discover VMware hypervisors

Discovery of hypervisors.

Simple check vmware.hv.discovery[{$VMWARE.URL}]

LLD rule Discover VMware VMs

Name Description Type Key and additional info
Discover VMware VMs

Discovery of guest virtual machines.

Simple check vmware.vm.discovery[{$VMWARE.URL}]

VMware Guest

Macros used

Name Description Default
{$VMWARE.URL}

VMware service (vCenter or ESX hypervisor) SDK URL (https://servername/sdk)

{$VMWARE.USERNAME}

VMware service user name

{$VMWARE.PASSWORD}

VMware service {$USERNAME} user password

Items

Name Description Type Key and additional info
Cluster name

Cluster name of the guest VM.

Simple check vmware.vm.cluster.name[{$VMWARE.URL},{$VMWARE.VM.UUID}]

Preprocessing

  • Discard unchanged with heartbeat: 1d

Number of virtual CPUs

Number of virtual CPUs assigned to the guest.

Simple check vmware.vm.cpu.num[{$VMWARE.URL},{$VMWARE.VM.UUID}]

Preprocessing

  • Discard unchanged with heartbeat: 1d

CPU ready

Time that the virtual machine was ready, but could not get scheduled to run on the physical CPU during last measurement interval (VMware vCenter/ESXi Server performance counter sampling interval - 20 seconds)

Simple check vmware.vm.cpu.ready[{$VMWARE.URL},{$VMWARE.VM.UUID}]
CPU usage

Current upper-bound on CPU usage. The upper-bound is based on the host the virtual machine is current running on, as well as limits configured on the virtual machine itself or any parent resource pool. Valid while the virtual machine is running.

Simple check vmware.vm.cpu.usage[{$VMWARE.URL},{$VMWARE.VM.UUID}]
Datacenter name

Datacenter name of the guest VM.

Simple check vmware.vm.datacenter.name[{$VMWARE.URL},{$VMWARE.VM.UUID}]

Preprocessing

  • Discard unchanged with heartbeat: 1d

Hypervisor name

Hypervisor name of the guest VM.

Simple check vmware.vm.hv.name[{$VMWARE.URL},{$VMWARE.VM.UUID}]

Preprocessing

  • Discard unchanged with heartbeat: 1d

Ballooned memory

The amount of guest physical memory that is currently reclaimed through the balloon driver.

Simple check vmware.vm.memory.size.ballooned[{$VMWARE.URL},{$VMWARE.VM.UUID}]
Compressed memory

The amount of memory currently in the compression cache for this VM.

Simple check vmware.vm.memory.size.compressed[{$VMWARE.URL},{$VMWARE.VM.UUID}]
Private memory

Amount of memory backed by host memory and not being shared.

Simple check vmware.vm.memory.size.private[{$VMWARE.URL},{$VMWARE.VM.UUID}]
Shared memory

The amount of guest physical memory shared through transparent page sharing.

Simple check vmware.vm.memory.size.shared[{$VMWARE.URL},{$VMWARE.VM.UUID}]
Swapped memory

The amount of guest physical memory swapped out to the VM's swap device by ESX.

Simple check vmware.vm.memory.size.swapped[{$VMWARE.URL},{$VMWARE.VM.UUID}]
Guest memory usage

The amount of guest physical memory that is being used by the VM.

Simple check vmware.vm.memory.size.usage.guest[{$VMWARE.URL},{$VMWARE.VM.UUID}]
Host memory usage

The amount of host physical memory allocated to the VM, accounting for saving from memory sharing with other VMs.

Simple check vmware.vm.memory.size.usage.host[{$VMWARE.URL},{$VMWARE.VM.UUID}]
Memory size

Total size of configured memory.

Simple check vmware.vm.memory.size[{$VMWARE.URL},{$VMWARE.VM.UUID}]

Preprocessing

  • Discard unchanged with heartbeat: 1d

Power state

The current power state of the virtual machine.

Simple check vmware.vm.powerstate[{$VMWARE.URL},{$VMWARE.VM.UUID}]

Preprocessing

  • Discard unchanged with heartbeat: 1h

Committed storage space

Total storage space, in bytes, committed to this virtual machine across all datastores.

Simple check vmware.vm.storage.committed[{$VMWARE.URL},{$VMWARE.VM.UUID}]
Uncommitted storage space

Additional storage space, in bytes, potentially used by this virtual machine on all datastores.

Simple check vmware.vm.storage.uncommitted[{$VMWARE.URL},{$VMWARE.VM.UUID}]
Unshared storage space

Total storage space, in bytes, occupied by the virtual machine across all datastores, that is not shared with any other virtual machine.

Simple check vmware.vm.storage.unshared[{$VMWARE.URL},{$VMWARE.VM.UUID}]
Uptime

System uptime.

Simple check vmware.vm.uptime[{$VMWARE.URL},{$VMWARE.VM.UUID}]
Guest memory swapped

Amount of guest physical memory that is swapped out to the swap space.

Simple check vmware.vm.guest.memory.size.swapped[{$VMWARE.URL},{$VMWARE.VM.UUID}]
Host memory consumed

Amount of host physical memory consumed for backing up guest physical memory pages.

Simple check vmware.vm.memory.size.consumed[{$VMWARE.URL},{$VMWARE.VM.UUID}]
Host memory usage in percents

Percentage of host physical memory that has been consumed.

Simple check vmware.vm.memory.usage[{$VMWARE.URL},{$VMWARE.VM.UUID}]
CPU usage in percents

CPU usage as a percentage during the interval.

Simple check vmware.vm.cpu.usage.perf[{$VMWARE.URL},{$VMWARE.VM.UUID}]
CPU latency in percents

Percentage of time the virtual machine is unable to run because it is contending for access to the physical CPU(s).

Simple check vmware.vm.cpu.latency[{$VMWARE.URL},{$VMWARE.VM.UUID}]
CPU readiness latency in percents

Percentage of time that the virtual machine was ready, but could not get scheduled to run on the physical CPU.

Simple check vmware.vm.cpu.readiness[{$VMWARE.URL},{$VMWARE.VM.UUID}]
CPU swap-in latency in percents

Percentage of CPU time spent waiting for swap-in.

Simple check vmware.vm.cpu.swapwait[{$VMWARE.URL},{$VMWARE.VM.UUID}]
Uptime of guest OS

Total time elapsed since the last operating system boot-up (in seconds).

Simple check vmware.vm.guest.osuptime[{$VMWARE.URL},{$VMWARE.VM.UUID}]

Triggers

Name Description Expression Severity Dependencies and additional info
VM has been restarted

Uptime is less than 10 minutes.

last(/VMware Guest/vmware.vm.guest.osuptime[{$VMWARE.URL},{$VMWARE.VM.UUID}])<10m Warning Manual close: Yes

LLD rule Network device discovery

Name Description Type Key and additional info
Network device discovery

Discovery of all network devices.

Simple check vmware.vm.net.if.discovery[{$VMWARE.URL},{$VMWARE.VM.UUID}]

Item prototypes for Network device discovery

Name Description Type Key and additional info
Number of bytes received on interface {#IFDESC}

VMware virtual machine network interface input statistics (bytes per second).

Simple check vmware.vm.net.if.in[{$VMWARE.URL},{$VMWARE.VM.UUID},{#IFNAME},bps]
Number of packets received on interface {#IFDESC}

VMware virtual machine network interface input statistics (packets per second).

Simple check vmware.vm.net.if.in[{$VMWARE.URL},{$VMWARE.VM.UUID},{#IFNAME},pps]
Number of bytes transmitted on interface {#IFDESC}

VMware virtual machine network interface output statistics (bytes per second).

Simple check vmware.vm.net.if.out[{$VMWARE.URL},{$VMWARE.VM.UUID},{#IFNAME},bps]
Number of packets transmitted on interface {#IFDESC}

VMware virtual machine network interface output statistics (packets per second).

Simple check vmware.vm.net.if.out[{$VMWARE.URL},{$VMWARE.VM.UUID},{#IFNAME},pps]
Network utilization on interface {#IFDESC}

VMware virtual machine network utilization (combined transmit-rates and receive-rates) during the interval.

Simple check vmware.vm.net.if.usage[{$VMWARE.URL},{$VMWARE.VM.UUID},{#IFNAME}]

Preprocessing

  • Custom multiplier: 1024

LLD rule Disk device discovery

Name Description Type Key and additional info
Disk device discovery

Discovery of all disk devices.

Simple check vmware.vm.vfs.dev.discovery[{$VMWARE.URL},{$VMWARE.VM.UUID}]

Item prototypes for Disk device discovery

Name Description Type Key and additional info
Average number of bytes read from the disk {#DISKDESC}

VMware virtual machine disk device read statistics (bytes per second).

Simple check vmware.vm.vfs.dev.read[{$VMWARE.URL},{$VMWARE.VM.UUID},{#DISKNAME},bps]
Average number of reads from the disk {#DISKDESC}

VMware virtual machine disk device read statistics (operations per second).

Simple check vmware.vm.vfs.dev.read[{$VMWARE.URL},{$VMWARE.VM.UUID},{#DISKNAME},ops]
Average number of bytes written to the disk {#DISKDESC}

VMware virtual machine disk device write statistics (bytes per second).

Simple check vmware.vm.vfs.dev.write[{$VMWARE.URL},{$VMWARE.VM.UUID},{#DISKNAME},bps]
Average number of writes to the disk {#DISKDESC}

VMware virtual machine disk device write statistics (operations per second).

Simple check vmware.vm.vfs.dev.write[{$VMWARE.URL},{$VMWARE.VM.UUID},{#DISKNAME},ops]
Average number of outstanding read requests to the disk {#DISKDESC}

Average number of outstanding read requests to the virtual disk during the collection interval.

Simple check vmware.vm.storage.readoio[{$VMWARE.URL},{$VMWARE.VM.UUID},{#DISKNAME}]
Average number of outstanding write requests to the disk {#DISKDESC}

Average number of outstanding write requests to the virtual disk during the collection interval.

Simple check vmware.vm.storage.writeoio[{$VMWARE.URL},{$VMWARE.VM.UUID},{#DISKNAME}]
Average write latency to the disk {#DISKDESC}

The average time a write to the virtual disk takes.

Simple check vmware.vm.storage.totalwritelatency[{$VMWARE.URL},{$VMWARE.VM.UUID},{#DISKNAME}]
Average read latency to the disk {#DISKDESC}

The average time a read from the virtual disk takes.

Simple check vmware.vm.storage.totalreadlatency[{$VMWARE.URL},{$VMWARE.VM.UUID},{#DISKNAME}]

LLD rule Mounted filesystem discovery

Name Description Type Key and additional info
Mounted filesystem discovery

Discovery of all guest file systems.

Simple check vmware.vm.vfs.fs.discovery[{$VMWARE.URL},{$VMWARE.VM.UUID}]

Item prototypes for Mounted filesystem discovery

Name Description Type Key and additional info
Free disk space on {#FSNAME}

VMware virtual machine file system statistics (bytes).

Simple check vmware.vm.vfs.fs.size[{$VMWARE.URL},{$VMWARE.VM.UUID},{#FSNAME},free]
Free disk space on {#FSNAME} (percentage)

VMware virtual machine file system statistics (percentages).

Simple check vmware.vm.vfs.fs.size[{$VMWARE.URL},{$VMWARE.VM.UUID},{#FSNAME},pfree]
Total disk space on {#FSNAME}

VMware virtual machine total disk space (bytes).

Simple check vmware.vm.vfs.fs.size[{$VMWARE.URL},{$VMWARE.VM.UUID},{#FSNAME},total]

Preprocessing

  • Discard unchanged with heartbeat: 1d

Used disk space on {#FSNAME}

VMware virtual machine used disk space (bytes).

Simple check vmware.vm.vfs.fs.size[{$VMWARE.URL},{$VMWARE.VM.UUID},{#FSNAME},used]

VMware Hypervisor

Macros used

Name Description Default
{$VMWARE.URL}

VMware service (vCenter or ESX hypervisor) SDK URL (https://servername/sdk).

{$VMWARE.USERNAME}

VMware service user name.

{$VMWARE.PASSWORD}

VMware service {$USERNAME} user password.

{$VMWARE.HV.SENSOR.DISCOVERY}

Set "true"/"false" to enable or disable monitoring of hardware sensors.

false
{$VMWARE.HV.SENSOR.DISCOVERY.NAME.MATCHES}

Sets the regex string of hardware sensor names to allow in discovery.

.*
{$VMWARE.HV.SENSOR.DISCOVERY.NAME.NOT_MATCHES}

Sets the regex string of hardware sensor names to ignore in discovery.

CHANGE_IF_NEEDED
{$VMWARE.HV.DATASTORE.SPACE.CRIT}

The critical threshold of the datastore free space.

10
{$VMWARE.HV.DATASTORE.SPACE.WARN}

The warning threshold of the datastore free space.

20

Items

Name Description Type Key and additional info
Hypervisor ping

Checks if the hypervisor is running and accepting ICMP pings.

Simple check icmpping[]

Preprocessing

  • Discard unchanged with heartbeat: 10m

Cluster name

Cluster name of the guest VM.

Simple check vmware.hv.cluster.name[{$VMWARE.URL},{$VMWARE.HV.UUID}]

Preprocessing

  • Discard unchanged with heartbeat: 1d

CPU usage

Aggregated CPU usage across all cores on the host in Hz. This is only available if the host is connected.

Simple check vmware.hv.cpu.usage[{$VMWARE.URL},{$VMWARE.HV.UUID}]
CPU usage in percents

CPU usage as a percentage during the interval.

Simple check vmware.hv.cpu.usage.perf[{$VMWARE.URL},{$VMWARE.HV.UUID}]
CPU utilization

CPU usage as a percentage during the interval depends on power management or HT.

Simple check vmware.hv.cpu.utilization[{$VMWARE.URL},{$VMWARE.HV.UUID}]
Power usage

Current power usage.

Simple check vmware.hv.power[{$VMWARE.URL},{$VMWARE.HV.UUID}]
Power usage maximum allowed

Maximum allowed power usage.

Simple check vmware.hv.power[{$VMWARE.URL},{$VMWARE.HV.UUID},max]

Preprocessing

  • Discard unchanged with heartbeat: 6h

Datacenter name

Datacenter name of the hypervisor.

Simple check vmware.hv.datacenter.name[{$VMWARE.URL},{$VMWARE.HV.UUID}]

Preprocessing

  • Discard unchanged with heartbeat: 1d

Full name

The complete product name, including the version information.

Simple check vmware.hv.fullname[{$VMWARE.URL},{$VMWARE.HV.UUID}]

Preprocessing

  • Discard unchanged with heartbeat: 1d

CPU frequency

The speed of the CPU cores. This is an average value if there are multiple speeds. The product of CPU frequency and number of cores is approximately equal to the sum of the MHz for all the individual cores on the host.

Simple check vmware.hv.hw.cpu.freq[{$VMWARE.URL},{$VMWARE.HV.UUID}]
CPU model

The CPU model.

Simple check vmware.hv.hw.cpu.model[{$VMWARE.URL},{$VMWARE.HV.UUID}]
CPU cores

Number of physical CPU cores on the host. Physical CPU cores are the processors contained by a CPU package.

Simple check vmware.hv.hw.cpu.num[{$VMWARE.URL},{$VMWARE.HV.UUID}]

Preprocessing

  • Discard unchanged with heartbeat: 1d

CPU threads

Number of physical CPU threads on the host.

Simple check vmware.hv.hw.cpu.threads[{$VMWARE.URL},{$VMWARE.HV.UUID}]
Total memory

The physical memory size.

Simple check vmware.hv.hw.memory[{$VMWARE.URL},{$VMWARE.HV.UUID}]
Model

The system model identification.

Simple check vmware.hv.hw.model[{$VMWARE.URL},{$VMWARE.HV.UUID}]
Bios UUID

The hardware BIOS identification.

Simple check vmware.hv.hw.uuid[{$VMWARE.URL},{$VMWARE.HV.UUID}]
Vendor

The hardware vendor identification.

Simple check vmware.hv.hw.vendor[{$VMWARE.URL},{$VMWARE.HV.UUID}]
Ballooned memory

The amount of guest physical memory that is currently reclaimed through the balloon driver. Sum of all guest VMs.

Simple check vmware.hv.memory.size.ballooned[{$VMWARE.URL},{$VMWARE.HV.UUID}]
Used memory

Physical memory usage on the host.

Simple check vmware.hv.memory.used[{$VMWARE.URL},{$VMWARE.HV.UUID}]
Number of bytes received

VMware hypervisor network input statistics (bytes per second).

Simple check vmware.hv.network.in[{$VMWARE.URL},{$VMWARE.HV.UUID},bps]
Number of bytes transmitted

VMware hypervisor network output statistics (bytes per second).

Simple check vmware.hv.network.out[{$VMWARE.URL},{$VMWARE.HV.UUID},bps]
Overall status

The overall alarm status of the host: gray - unknown, green - ok, red - it has a problem, yellow - it might have a problem.

Simple check vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}]
Uptime

System uptime.

Simple check vmware.hv.uptime[{$VMWARE.URL},{$VMWARE.HV.UUID}]
Version

Dot-separated version string.

Simple check vmware.hv.version[{$VMWARE.URL},{$VMWARE.HV.UUID}]
Number of guest VMs

Number of guest virtual machines.

Simple check vmware.hv.vm.num[{$VMWARE.URL},{$VMWARE.HV.UUID}]
Get sensors

Master item for sensors data.

Simple check vmware.hv.sensors.get[{$VMWARE.URL},{$VMWARE.HV.UUID}]

Triggers

Name Description Expression Severity Dependencies and additional info
Hypervisor is down

The service is unavailable or does not accept ICMP ping.

last(/VMware Hypervisor/icmpping[])=0 Average Manual close: Yes
The {$VMWARE.HV.UUID} health is Red

One or more components in the appliance might be in an unusable status and the appliance might become unresponsive soon. Security patches might be available.

last(/VMware Hypervisor/vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}])=3 High
The {$VMWARE.HV.UUID} health is Yellow

One or more components in the appliance might become overloaded soon.

last(/VMware Hypervisor/vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}])=2 Average Depends on:
  • The {$VMWARE.HV.UUID} health is Red
Hypervisor has been restarted

Uptime is less than 10 minutes.

last(/VMware Hypervisor/vmware.hv.uptime[{$VMWARE.URL},{$VMWARE.HV.UUID}])<10m Warning Manual close: Yes

LLD rule Datastore discovery

Name Description Type Key and additional info
Datastore discovery Simple check vmware.hv.datastore.discovery[{$VMWARE.URL},{$VMWARE.HV.UUID}]

Item prototypes for Datastore discovery

Name Description Type Key and additional info
Average read latency of the datastore {#DATASTORE}

Average amount of time for a read operation from the datastore (milliseconds).

Simple check vmware.hv.datastore.read[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE},latency]
Free space on datastore {#DATASTORE} (percentage)

VMware datastore free space in percentage from total.

Simple check vmware.hv.datastore.size[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE},pfree]
Total size of datastore {#DATASTORE}

VMware datastore space in bytes.

Simple check vmware.hv.datastore.size[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE}]
Average write latency of the datastore {#DATASTORE}

Average amount of time for a write operation to the datastore (milliseconds).

Simple check vmware.hv.datastore.write[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE},latency]
Multipath count for datastore {#DATASTORE}

Number of available datastore paths.

Simple check vmware.hv.datastore.multipath[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE}]

Trigger prototypes for Datastore discovery

Name Description Expression Severity Dependencies and additional info
{#DATASTORE}: Free space is critically low

Datastore free space has fallen below critical threshold.

last(/VMware Hypervisor/vmware.hv.datastore.size[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE},pfree])<{$VMWARE.HV.DATASTORE.SPACE.CRIT} High
{#DATASTORE}: Free space is low

Datastore free space has fallen below warning threshold.

last(/VMware Hypervisor/vmware.hv.datastore.size[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE},pfree])<{$VMWARE.HV.DATASTORE.SPACE.WARN} Warning Depends on:
  • {#DATASTORE}: Free space is critically low
The multipath count has been changed

The number of available datastore paths less than registered ({#MULTIPATH.COUNT}).

last(/VMware Hypervisor/vmware.hv.datastore.multipath[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE}],#1)<>last(/VMware Hypervisor/vmware.hv.datastore.multipath[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE}],#2) and last(/VMware Hypervisor/vmware.hv.datastore.multipath[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE}])<{#MULTIPATH.COUNT} Average Manual close: Yes

LLD rule Healthcheck discovery

Name Description Type Key and additional info
Healthcheck discovery

VMware Rollup Health State sensor discovery.

Dependent item vmware.hv.healthcheck.discovery

Preprocessing

  • JSON Path: The text is too long. Please see the template.

    ⛔️Custom on fail: Set value to: []

  • JavaScript: The text is too long. Please see the template.

  • Discard unchanged with heartbeat: 6h

Item prototypes for Healthcheck discovery

Name Description Type Key and additional info
Health state rollup

The host health state rollup sensor value: gray - unknown, green - ok, red - it has a problem, yellow - it might have a problem.

Dependent item vmware.hv.sensor.health.state[{#SINGLETON}]

Preprocessing

  • JSON Path: The text is too long. Please see the template.

Trigger prototypes for Healthcheck discovery

Name Description Expression Severity Dependencies and additional info
The {$VMWARE.HV.UUID} health is Red

One or more components in the appliance might be in an unusable status and the appliance might become unresponsive soon. Security patches might be available.

last(/VMware Hypervisor/vmware.hv.sensor.health.state[{#SINGLETON}])="Red" High Depends on:
  • The {$VMWARE.HV.UUID} health is Red
The {$VMWARE.HV.UUID} health is Yellow

One or more components in the appliance might become overloaded soon.

last(/VMware Hypervisor/vmware.hv.sensor.health.state[{#SINGLETON}])="Yellow" Average Depends on:
  • The {$VMWARE.HV.UUID} health is Red
  • The {$VMWARE.HV.UUID} health is Yellow
  • The {$VMWARE.HV.UUID} health is Red

LLD rule Sensor discovery

Name Description Type Key and additional info
Sensor discovery

VMware hardware sensor discovery. The data is retrieved from numeric sensor probes and provides information about the health of the physical system.

Dependent item vmware.hv.sensors.discovery

Preprocessing

  • JavaScript: The text is too long. Please see the template.

  • Discard unchanged with heartbeat: 6h

Item prototypes for Sensor discovery

Name Description Type Key and additional info
Sensor [{#NAME}] health state

VMware hardware sensor health state. One of the following:

- Unknown

- Green

- Yellow

- Red

Dependent item vmware.hv.sensor.state["{#NAME}"]

Preprocessing

  • JSON Path: The text is too long. Please see the template.

  • JavaScript: The text is too long. Please see the template.

  • Discard unchanged with heartbeat: 6h

Trigger prototypes for Sensor discovery

Name Description Expression Severity Dependencies and additional info
Sensor [{#NAME}] health state is Red

One or more components in the appliance might be in an unusable status and the appliance might become unresponsive soon.

last(/VMware Hypervisor/vmware.hv.sensor.state["{#NAME}"])=3 High Depends on:
  • The {$VMWARE.HV.UUID} health is Red
Sensor [{#NAME}] health state is Yellow

One or more components in the appliance might become overloaded soon.

last(/VMware Hypervisor/vmware.hv.sensor.state["{#NAME}"])=2 Average Depends on:
  • The {$VMWARE.HV.UUID} health is Red
  • The {$VMWARE.HV.UUID} health is Yellow
  • Sensor [{#NAME}] health state is Red

Feedback

Please report any issues with the template at https://support.zabbix.com

You can also provide feedback, discuss the template, or ask for help at ZABBIX forums

Didn't find what you are looking for?