Files
templates-default/VMware_Hypervisor.yaml

2063 lines
82 KiB
YAML

zabbix_export:
version: '7.0'
template_groups:
- uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
name: Templates/Applications
templates:
- uuid: 5899b2f0aced4085b5ac25d0461b3425
template: 'VMware Hypervisor'
name: 'VMware Hypervisor'
description: |
You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/.
This template can be used in discovery as well as manually linked to a host. To use this template as manually linked to a host, attach it to the host and set manually the value of '{$VMWARE.HV.UUID}' macro.
Note: To create custom performance counter see documentation: https://www.zabbix.com/documentation/7.0/manual/vm_monitoring/vmware_keys#footnotes.
Note: To get all supported counters and generate path for custom performance counter see documentation: https://www.zabbix.com/documentation/7.0/manual/appendix/items/perf_counters.
Generated by official Zabbix template tool "Templator"
vendor:
name: Zabbix
version: 7.0-5
groups:
- name: Templates/Applications
items:
- uuid: 3010cb082f23478b858912f944347530
name: 'Hypervisor ping'
type: SIMPLE
key: 'icmpping[]'
description: |
Checks if the hypervisor is running and accepting ICMP pings. One of the following:
- Down;
- Up.
valuemap:
name: 'Service state'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 10m
tags:
- tag: component
value: application
- tag: component
value: health
triggers:
- uuid: ab84a61566a5402db59efd40d20714a5
expression: 'last(/VMware Hypervisor/icmpping[])=0'
name: 'VMware Hypervisor: Hypervisor is down'
priority: AVERAGE
description: 'The service is unavailable or is not accepting ICMP pings.'
manual_close: 'YES'
tags:
- tag: scope
value: availability
- uuid: af4d0877fda84753816c817ad76162f1
name: 'Cluster name'
type: SIMPLE
key: 'vmware.hv.cluster.name[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
delay: 1h
value_type: CHAR
trends: '0'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Cluster name of the guest VM.'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: cluster
- uuid: 0e9fd4e6d6e446f08afe7b4b9431bc62
name: 'Connection state'
type: SIMPLE
key: 'vmware.hv.connectionstate[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: |
VMware hypervisor connection state. One of the following:
- Connected;
- Disconnected;
- Not responding.
valuemap:
name: 'VMware Connection state'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
- type: JAVASCRIPT
parameters:
- |
const idx = [
'connected',
'disconnected',
'notResponding'
].indexOf(value);
return idx !== -1 ? idx : 3;
tags:
- tag: component
value: availability
- uuid: c4ebd62118464e7a8d1945f80d70f8ae
name: 'CPU usage in percent'
type: SIMPLE
key: 'vmware.hv.cpu.usage.perf[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
value_type: FLOAT
units: '%'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'CPU usage as a percentage during the interval.'
tags:
- tag: component
value: cpu
- uuid: 1bff6fbd300d4455a787a273d957bba3
name: 'CPU usage'
type: SIMPLE
key: 'vmware.hv.cpu.usage[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
units: Hz
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Aggregated CPU usage across all cores on the host in Hz. This is only available if the host is connected.'
tags:
- tag: component
value: cpu
- uuid: aad168c33cd14f76aa14ab5ca26498ec
name: 'CPU utilization'
type: SIMPLE
key: 'vmware.hv.cpu.utilization[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
value_type: FLOAT
units: '%'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'CPU utilization as a percentage during the interval depends on power management or hyper-threading.'
tags:
- tag: component
value: cpu
- uuid: e4d27d7f9b9048d4ae6c60cbdd6c0091
name: 'Datacenter name'
type: SIMPLE
key: 'vmware.hv.datacenter.name[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
delay: 1h
value_type: CHAR
trends: '0'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Datacenter name of the hypervisor.'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: datacenter
- uuid: 5c29837f75f04d7f9a5786691b3dd991
name: 'Full name'
type: SIMPLE
key: 'vmware.hv.fullname[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
delay: 1h
value_type: CHAR
trends: '0'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'The complete product name, including the version information.'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: system
- uuid: ad0053d57b834e6a9776c08e1c455d55
name: 'CPU frequency'
type: SIMPLE
key: 'vmware.hv.hw.cpu.freq[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
delay: 1h
units: Hz
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'The speed of the CPU cores. This is an average value if there are multiple speeds. The product of CPU frequency and the number of cores is approximately equal to the sum of the MHz for all the individual cores on the host.'
tags:
- tag: component
value: cpu
- uuid: 3f0c35fcef9e4699ac5a1c51d80f8da4
name: 'CPU model'
type: SIMPLE
key: 'vmware.hv.hw.cpu.model[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
delay: 1h
value_type: CHAR
trends: '0'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'The CPU model.'
tags:
- tag: component
value: cpu
- uuid: c99a5bf2e3904f97b3d361ca20af7883
name: 'CPU cores'
type: SIMPLE
key: 'vmware.hv.hw.cpu.num[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
delay: 1h
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Number of physical CPU cores on the host. Physical CPU cores are the processors contained by a CPU package.'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: cpu
- uuid: 89cb0a4809e7454a862f398a0e9d6bed
name: 'CPU threads'
type: SIMPLE
key: 'vmware.hv.hw.cpu.threads[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
delay: 1h
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Number of physical CPU threads on the host.'
tags:
- tag: component
value: cpu
- uuid: ce89c38e6e5d4338a30ee150be1b2b67
name: 'Total memory'
type: SIMPLE
key: 'vmware.hv.hw.memory[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
delay: 1h
units: B
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'The physical memory size.'
tags:
- tag: component
value: memory
- uuid: 7ed7ac26da384bcda976badf24ebbec1
name: Model
type: SIMPLE
key: 'vmware.hv.hw.model[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
delay: 1h
value_type: CHAR
trends: '0'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'The system model identification.'
tags:
- tag: component
value: system
- uuid: 6c4aab55b3e640779a25ac90b9ca2a43
name: 'Bios UUID'
type: SIMPLE
key: 'vmware.hv.hw.uuid[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
delay: 1h
value_type: CHAR
trends: '0'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'The hardware BIOS identification.'
tags:
- tag: component
value: system
- uuid: aec06090d16d4bdd8ed3494b448f19d8
name: Vendor
type: SIMPLE
key: 'vmware.hv.hw.vendor[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
delay: 1h
value_type: CHAR
trends: '0'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'The hardware vendor identification.'
tags:
- tag: component
value: system
- uuid: 21020a79436a49c38caf8941f6b68da3
name: 'Ballooned memory'
type: SIMPLE
key: 'vmware.hv.memory.size.ballooned[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
units: B
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'The amount of guest physical memory that is currently reclaimed through the balloon driver. Sum of all guest VMs.'
tags:
- tag: component
value: memory
- uuid: 93d680d6886d446badbbe995ddd9ba9c
name: 'Used memory'
type: SIMPLE
key: 'vmware.hv.memory.used[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
units: B
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Physical memory usage on the host.'
tags:
- tag: component
value: memory
- uuid: 33f78ab6ee6c4e7585a83a60cdecab6f
name: 'Number of bytes received'
type: SIMPLE
key: 'vmware.hv.network.in[{$VMWARE.URL},{$VMWARE.HV.UUID},bps]'
units: Bps
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'VMware hypervisor network input statistics (bytes per second).'
tags:
- tag: component
value: network
- uuid: 8f935e9718294cd4a67d02f4723a1713
name: 'Number of broadcasts received'
type: SIMPLE
key: 'vmware.hv.network.in[{$VMWARE.URL},{$VMWARE.HV.UUID},broadcast]'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'VMware hypervisor network input statistics (broadcasts).'
tags:
- tag: component
value: network
- uuid: 720c58685828440bacda845bfd848d6a
name: 'Number of dropped received packets'
type: SIMPLE
key: 'vmware.hv.network.in[{$VMWARE.URL},{$VMWARE.HV.UUID},dropped]'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'VMware hypervisor network input statistics (packets dropped).'
tags:
- tag: component
value: network
- uuid: 0084eb8fd76241b8938bb1dad5a3f160
name: 'Number of errors received'
type: SIMPLE
key: 'vmware.hv.network.in[{$VMWARE.URL},{$VMWARE.HV.UUID},errors]'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'VMware hypervisor network input statistics (errors).'
tags:
- tag: component
value: network
- uuid: b013afcba08b47f4a5b590a59f464a58
name: 'Number of bytes transmitted'
type: SIMPLE
key: 'vmware.hv.network.out[{$VMWARE.URL},{$VMWARE.HV.UUID},bps]'
units: Bps
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'VMware hypervisor network output statistics (bytes per second).'
tags:
- tag: component
value: network
- uuid: 16496c407daa43b9863c05416b294992
name: 'Number of broadcasts transmitted'
type: SIMPLE
key: 'vmware.hv.network.out[{$VMWARE.URL},{$VMWARE.HV.UUID},broadcast]'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'VMware hypervisor network output statistics (broadcasts).'
tags:
- tag: component
value: network
- uuid: f001256bbfc34cc0898c5eaef422973e
name: 'Number of dropped transmitted packets'
type: SIMPLE
key: 'vmware.hv.network.out[{$VMWARE.URL},{$VMWARE.HV.UUID},dropped]'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'VMware hypervisor network output statistics (packets dropped).'
tags:
- tag: component
value: network
- uuid: 5f549d8708f24160b04a4a74db29042a
name: 'Number of errors transmitted'
type: SIMPLE
key: 'vmware.hv.network.out[{$VMWARE.URL},{$VMWARE.HV.UUID},errors]'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'VMware hypervisor network output statistics (errors).'
tags:
- tag: component
value: network
- uuid: e4116d7c7e234c5ebd5784f42ade1f2e
name: 'Power usage maximum allowed'
type: SIMPLE
key: 'vmware.hv.power[{$VMWARE.URL},{$VMWARE.HV.UUID},max]'
units: '!W'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Maximum allowed power usage.'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
- uuid: 179a981cf30f4f77869e3b50dc2bc333
name: 'Power usage'
type: SIMPLE
key: 'vmware.hv.power[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
units: '!W'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Current power usage.'
tags:
- tag: component
value: power
- uuid: 3c9d6ffb53624758ad888bf70f69218c
name: 'Get sensors'
type: SIMPLE
key: 'vmware.hv.sensors.get[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
history: '0'
value_type: TEXT
trends: '0'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Master item for sensor data.'
tags:
- tag: component
value: raw
- uuid: 0cec294521314c5482233b5b96e90c8d
name: 'Overall status'
type: SIMPLE
key: 'vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: |
The overall alarm status of the host. One of the following:
- Gray: Unknown;
- Green: OK;
- Yellow: It might have a problem;
- Red: It has a problem.
valuemap:
name: 'VMware status'
tags:
- tag: component
value: health
triggers:
- uuid: 378511e0f1794874a68aef1b43561ee5
expression: 'last(/VMware Hypervisor/vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}])=3'
name: 'VMware Hypervisor: The {$VMWARE.HV.UUID} health is Red'
priority: HIGH
description: 'One or more components in the appliance might be in an unusable status and the appliance might soon become unresponsive. Security patches might be available.'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: ef6ca4d7033c4c8cb963eb7d493b3c7b
expression: 'last(/VMware Hypervisor/vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}])=2'
name: 'VMware Hypervisor: The {$VMWARE.HV.UUID} health is Yellow'
priority: AVERAGE
description: 'One or more components in the appliance might soon become overloaded.'
dependencies:
- name: 'VMware Hypervisor: The {$VMWARE.HV.UUID} health is Red'
expression: 'last(/VMware Hypervisor/vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}])=3'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: ecad96137494476293b57a0440de3f65
name: Uptime
type: SIMPLE
key: 'vmware.hv.uptime[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
units: uptime
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'System uptime.'
tags:
- tag: component
value: system
triggers:
- uuid: 01d316b0a8cf4998b344f0c4ef1daa32
expression: 'last(/VMware Hypervisor/vmware.hv.uptime[{$VMWARE.URL},{$VMWARE.HV.UUID}])<10m'
name: 'VMware Hypervisor: Hypervisor has been restarted'
event_name: 'VMware Hypervisor: Hypervisor has been restarted (uptime < 10m)'
priority: WARNING
description: 'Uptime is less than 10 minutes.'
manual_close: 'YES'
tags:
- tag: scope
value: notice
- uuid: 222ad20887cf479b8e81a4c338078d17
name: Version
type: SIMPLE
key: 'vmware.hv.version[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
delay: 1h
value_type: CHAR
trends: '0'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Dot-separated version string.'
tags:
- tag: component
value: system
- uuid: 2045df572e864834bd4bd97046353f4e
name: 'Number of guest VMs'
type: SIMPLE
key: 'vmware.hv.vm.num[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
delay: 1h
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Number of guest virtual machines.'
tags:
- tag: component
value: system
discovery_rules:
- uuid: fb7774df87994355baff7402d9fabcc2
name: 'Datastore discovery'
type: SIMPLE
key: 'vmware.hv.datastore.discovery[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
delay: 1h
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Discovery of VMware datastores.'
item_prototypes:
- uuid: 65e6c165c3674953b2845d4101a9a6bf
name: 'Multipath count for datastore [{#DATASTORE}]'
type: SIMPLE
key: 'vmware.hv.datastore.multipath[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID}]'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Number of available datastore paths.'
tags:
- tag: component
value: datastore
- tag: datastore
value: '{#DATASTORE}'
- tag: type
value: '{#DATASTORE.TYPE}'
trigger_prototypes:
- uuid: 8f1de4827ba446ef902ca5fa44109c6d
expression: 'last(/VMware Hypervisor/vmware.hv.datastore.multipath[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID}],#1)<>last(/VMware Hypervisor/vmware.hv.datastore.multipath[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID}],#2) and last(/VMware Hypervisor/vmware.hv.datastore.multipath[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID}])<{#MULTIPATH.COUNT}'
name: 'VMware Hypervisor: The multipath count has been changed'
event_name: 'VMware Hypervisor: The multipath count for datastore [{#DATASTORE}] has been changed'
opdata: 'Current: {ITEM.LASTVALUE}, Registered: {#MULTIPATH.COUNT}'
priority: AVERAGE
description: 'The number of available datastore paths is less than registered (`{#MULTIPATH.COUNT}`).'
manual_close: 'YES'
tags:
- tag: scope
value: notice
- uuid: 259d1ff4bde143248f7ee2f7f880cb62
name: 'Average read latency of the datastore [{#DATASTORE}]'
type: SIMPLE
key: 'vmware.hv.datastore.read[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID},latency]'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Average amount of time for a read operation from the datastore (milliseconds).'
tags:
- tag: component
value: datastore
- tag: datastore
value: '{#DATASTORE}'
- tag: type
value: '{#DATASTORE.TYPE}'
- uuid: 1d7761e9ad0c48c1a3f6b1b48290c16b
name: 'Average read IOPS of the datastore [{#DATASTORE}]'
type: SIMPLE
key: 'vmware.hv.datastore.read[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID},rps]'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Average IOPS for a read operation from the datastore.'
tags:
- tag: component
value: datastore
- tag: datastore
value: '{#DATASTORE}'
- tag: type
value: '{#DATASTORE.TYPE}'
- uuid: f36245398cc4460a9cb4ec741612693b
name: 'Free space on datastore [{#DATASTORE}] (percentage)'
type: SIMPLE
key: 'vmware.hv.datastore.size[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID},pfree]'
delay: 5m
value_type: FLOAT
units: '%'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'VMware datastore free space (percentage from the total).'
tags:
- tag: component
value: datastore
- tag: datastore
value: '{#DATASTORE}'
- tag: type
value: '{#DATASTORE.TYPE}'
trigger_prototypes:
- uuid: 79c83ed72685487a9ef139c42eea1106
expression: 'last(/VMware Hypervisor/vmware.hv.datastore.size[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID},pfree])<{$VMWARE.HV.DATASTORE.SPACE.CRIT}'
name: 'VMware Hypervisor: [{#DATASTORE}]: Free space is critically low'
event_name: 'VMware Hypervisor: Datastore free space is critically low ([{#DATASTORE}] free space < {$VMWARE.HV.DATASTORE.SPACE.CRIT}%)'
priority: HIGH
description: 'Datastore free space has fallen below the critical threshold.'
tags:
- tag: scope
value: capacity
- uuid: 5bc64ee899444a01a5bc315290256cdf
expression: 'last(/VMware Hypervisor/vmware.hv.datastore.size[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID},pfree])<{$VMWARE.HV.DATASTORE.SPACE.WARN}'
name: 'VMware Hypervisor: [{#DATASTORE}]: Free space is low'
event_name: 'VMware Hypervisor: Datastore free space is low ([{#DATASTORE}] free space < {$VMWARE.HV.DATASTORE.SPACE.WARN}%)'
priority: WARNING
description: 'Datastore free space has fallen below the warning threshold.'
dependencies:
- name: 'VMware Hypervisor: [{#DATASTORE}]: Free space is critically low'
expression: 'last(/VMware Hypervisor/vmware.hv.datastore.size[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID},pfree])<{$VMWARE.HV.DATASTORE.SPACE.CRIT}'
tags:
- tag: scope
value: capacity
- uuid: cc83e8f5ec08483db75482706bf01aba
name: 'Total size of datastore [{#DATASTORE}]'
type: SIMPLE
key: 'vmware.hv.datastore.size[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID}]'
delay: 5m
units: B
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'VMware datastore space in bytes.'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: datastore
- tag: datastore
value: '{#DATASTORE}'
- tag: type
value: '{#DATASTORE.TYPE}'
- uuid: 9db980d8f5f44af5ad11a5949d80031d
name: 'Average write latency of the datastore [{#DATASTORE}]'
type: SIMPLE
key: 'vmware.hv.datastore.write[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID},latency]'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Average amount of time for a write operation to the datastore (milliseconds).'
tags:
- tag: component
value: datastore
- tag: datastore
value: '{#DATASTORE}'
- tag: type
value: '{#DATASTORE.TYPE}'
- uuid: 4514c4ccf00142e48b243f69dee0b533
name: 'Average write IOPS of the datastore [{#DATASTORE}]'
type: SIMPLE
key: 'vmware.hv.datastore.write[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID},rps]'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Average IOPS for a write operation to the datastore (milliseconds).'
tags:
- tag: component
value: datastore
- tag: datastore
value: '{#DATASTORE}'
- tag: type
value: '{#DATASTORE.TYPE}'
overrides:
- name: 'Disable IO perfCounter'
step: '1'
filter:
conditions:
- macro: '{#DATASTORE.TYPE}'
value: vsan|nfs
formulaid: A
operations:
- operationobject: ITEM_PROTOTYPE
operator: LIKE
value: Average
discover: NO_DISCOVER
- name: 'Disable Multipath perfCounter'
step: '2'
filter:
conditions:
- macro: '{#DATASTORE.TYPE}'
value: vsan
formulaid: A
operations:
- operationobject: ITEM_PROTOTYPE
operator: LIKE
value: 'Multipath count for datastore'
discover: NO_DISCOVER
- uuid: deb31adf69634837839e2d8f87167f28
name: 'Healthcheck discovery'
type: DEPENDENT
key: vmware.hv.healthcheck.discovery
delay: '0'
description: 'VMware Rollup Health State sensor discovery.'
item_prototypes:
- uuid: fabb7524dd454daa942266e5565ce40e
name: 'Health state rollup'
type: DEPENDENT
key: 'vmware.hv.sensor.health.state[{#SINGLETON}]'
delay: '0'
description: |
The host's Rollup Health State sensor value. One of the following:
- Gray: Unknown;
- Green: OK;
- Yellow: It might have a problem;
- Red: It has a problem.
valuemap:
name: 'VMware status'
preprocessing:
- type: JSONPATH
parameters:
- '$..HostNumericSensorInfo[?(@.name=="VMware Rollup Health State")].healthState.label.first()'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1h
- type: JAVASCRIPT
parameters:
- |
const idx = [
'gray',
'green',
'yellow',
'red'
].indexOf(value.toLowerCase());
return idx !== -1 ? idx : 0;
master_item:
key: 'vmware.hv.sensors.get[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
tags:
- tag: component
value: health
trigger_prototypes:
- uuid: 9f2a65161946436986aacf6c9a637673
expression: 'last(/VMware Hypervisor/vmware.hv.sensor.health.state[{#SINGLETON}])=3'
name: 'VMware Hypervisor: The {$VMWARE.HV.UUID} health is Red'
priority: HIGH
description: 'One or more components in the appliance might be in an unusable status and the appliance might soon become unresponsive. Security patches might be available.'
dependencies:
- name: 'VMware Hypervisor: The {$VMWARE.HV.UUID} health is Red'
expression: 'last(/VMware Hypervisor/vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}])=3'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: dc4f84eb8d2143bb80999fbc58f38928
expression: 'last(/VMware Hypervisor/vmware.hv.sensor.health.state[{#SINGLETON}])=2'
name: 'VMware Hypervisor: The {$VMWARE.HV.UUID} health is Yellow'
priority: AVERAGE
description: 'One or more components in the appliance might soon become overloaded.'
dependencies:
- name: 'VMware Hypervisor: The {$VMWARE.HV.UUID} health is Red'
expression: 'last(/VMware Hypervisor/vmware.hv.sensor.health.state[{#SINGLETON}])=3'
- name: 'VMware Hypervisor: The {$VMWARE.HV.UUID} health is Red'
expression: 'last(/VMware Hypervisor/vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}])=3'
- name: 'VMware Hypervisor: The {$VMWARE.HV.UUID} health is Yellow'
expression: 'last(/VMware Hypervisor/vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}])=2'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
master_item:
key: 'vmware.hv.sensors.get[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
preprocessing:
- type: JSONPATH
parameters:
- '$..HostNumericSensorInfo[?(@.name=="VMware Rollup Health State")]'
error_handler: CUSTOM_VALUE
error_handler_params: '[]'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
- type: JAVASCRIPT
parameters:
- 'return JSON.stringify(value != "[]" ? [{''{#SINGLETON}'': ''''}] : []);'
- uuid: cabe1fbdd4e04ef396afaa5dfd1a3423
name: 'Network interface discovery'
type: SIMPLE
key: 'vmware.hv.net.if.discovery[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
delay: 1h
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'Discovery of VMware hypervisor network interfaces.'
item_prototypes:
- uuid: 706acba4535e4135b824d53763868a5f
name: '[{#IFNAME}] network interface speed'
type: SIMPLE
key: 'vmware.hv.network.linkspeed[{$VMWARE.URL},{$VMWARE.HV.UUID},{#IFNAME}]'
units: bps
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'VMware hypervisor network interface speed.'
preprocessing:
- type: MULTIPLIER
parameters:
- '1000000'
tags:
- tag: component
value: network
- tag: interface
value: '{#IFNAME}'
- uuid: ace5c21254804024a6571a5d030383a0
name: 'Sensor discovery'
type: DEPENDENT
key: vmware.hv.sensors.discovery
delay: '0'
filter:
evaltype: AND
conditions:
- macro: '{#NAME}'
value: '{$VMWARE.HV.SENSOR.DISCOVERY.NAME.MATCHES}'
formulaid: A
- macro: '{#NAME}'
value: 'VMware Rollup Health State'
operator: NOT_MATCHES_REGEX
formulaid: B
- macro: '{#NAME}'
value: '{$VMWARE.HV.SENSOR.DISCOVERY.NAME.NOT_MATCHES}'
operator: NOT_MATCHES_REGEX
formulaid: C
description: 'VMware hardware sensor discovery. The data is retrieved from numeric sensor probes and provides information about the health of the physical system.'
item_prototypes:
- uuid: d9a7725ccb0647069b331c5e3e51aeaf
name: 'Sensor [{#NAME}] health state'
type: DEPENDENT
key: 'vmware.hv.sensor.state["{#NAME}"]'
delay: '0'
description: |
VMware hardware sensor health state. One of the following:
- Gray: Unknown;
- Green: OK;
- Yellow: It might have a problem;
- Red: It has a problem.
valuemap:
name: 'VMware status'
preprocessing:
- type: JSONPATH
parameters:
- '$..HostNumericSensorInfo[?(@.name=="{#NAME}")].healthState.label.first()'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
- type: JAVASCRIPT
parameters:
- |
const idx = [
'gray',
'green',
'yellow',
'red'
].indexOf(value.toLowerCase());
return idx !== -1 ? idx : 0;
master_item:
key: 'vmware.hv.sensors.get[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
tags:
- tag: component
value: health
- tag: component
value: sensor
- tag: type
value: '{#TYPE}'
trigger_prototypes:
- uuid: f591aa480fb94996be8225176bc9c95c
expression: 'last(/VMware Hypervisor/vmware.hv.sensor.state["{#NAME}"])=3'
name: 'VMware Hypervisor: Sensor [{#NAME}] health state is Red'
priority: HIGH
description: 'One or more components in the appliance might be in an unusable status and the appliance might soon become unresponsive.'
dependencies:
- name: 'VMware Hypervisor: The {$VMWARE.HV.UUID} health is Red'
expression: 'last(/VMware Hypervisor/vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}])=3'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: c49e1b853f07417abb3812fd03da0bc3
expression: 'last(/VMware Hypervisor/vmware.hv.sensor.state["{#NAME}"])=2'
name: 'VMware Hypervisor: Sensor [{#NAME}] health state is Yellow'
priority: AVERAGE
description: 'One or more components in the appliance might soon become overloaded.'
dependencies:
- name: 'VMware Hypervisor: Sensor [{#NAME}] health state is Red'
expression: 'last(/VMware Hypervisor/vmware.hv.sensor.state["{#NAME}"])=3'
- name: 'VMware Hypervisor: The {$VMWARE.HV.UUID} health is Red'
expression: 'last(/VMware Hypervisor/vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}])=3'
- name: 'VMware Hypervisor: The {$VMWARE.HV.UUID} health is Yellow'
expression: 'last(/VMware Hypervisor/vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}])=2'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
master_item:
key: 'vmware.hv.sensors.get[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
preprocessing:
- type: JAVASCRIPT
parameters:
- |
var result = [],
sensors = JSON.parse(value)['val']['HostNumericSensorInfo'],
discovery_flag = '{$VMWARE.HV.SENSOR.DISCOVERY}'.toLowerCase().trim();
if (!(discovery_flag == 'true' || discovery_flag == 'false')) {
throw 'Incorrect value of macro "{$' + 'VMWARE.HV.SENSOR.DISCOVERY}". Can be used only "true" or "false". Actual value: ' + discovery_flag;
}
if (discovery_flag !== 'true' || typeof sensors === "undefined") {
return JSON.stringify([]);
}
sensors.forEach(function(sensor) {
result.push({"{#NAME}": sensor['name'], "{#TYPE}": sensor['sensorType'].toLowerCase()});
})
return JSON.stringify(result);
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
- uuid: 7f7ed06754fb4c59ac2d893b85169981
name: 'Serial number discovery'
type: DEPENDENT
key: vmware.hv.serial.number.discovery
delay: '0'
description: 'VMware hypervisor serial number discovery. This item works only with VMware hypervisor versions above 6.7.'
item_prototypes:
- uuid: fcd12a13f97848b78b610e86a24417b2
name: 'Serial number'
type: SIMPLE
key: 'vmware.hv.hw.serialnumber[{$VMWARE.URL},{#VMWARE.HV.UUID}]'
delay: 1h
value_type: CHAR
trends: '0'
username: '{$VMWARE.USERNAME}'
password: '{$VMWARE.PASSWORD}'
description: 'VMware hypervisor serial number.'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 1d
tags:
- tag: component
value: system
master_item:
key: 'vmware.hv.version[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
- type: JAVASCRIPT
parameters:
- |
function isGtOrEqVersion(first_version, second_version) {
var first = first_version.split('.').map(Number),
second = second_version.split('.').map(Number);
if (first.length > second.length) {
const max_componens_length = first.length
}
else {
const max_componens_length = second.length
}
var num_components = first.length;
while (num_components < max_componens_length) {
first.push(0);
num_components = num_components +1;
}
var num_components = second.length;
while (num_components < max_componens_length) {
second.push(0);
num_components = num_components +1;
}
if (first[0] > second[0] ||
(first[0] === second[0] && first[1] > second[1]) ||
(first[0] === second[0] && first[1] === second[1] && first[2] >= second[2])) {
return true;
}
return false;
}
try {
const vmware_version = value;
const hypervisor_uuid = '{$VMWARE.HV.UUID}';
if (isGtOrEqVersion(vmware_version, '6.7.0')) {
return JSON.stringify([{'{#VMWARE.HV.UUID}': hypervisor_uuid}]);
}
return JSON.stringify([]);
}
catch (error) {
Zabbix.log(3, '[ VMware Serial Number Discovery ] ERROR: ' + error);
throw 'Failed to process data:' + error;
}
tags:
- tag: class
value: software
- tag: target
value: vmware
- tag: target
value: vmware-hypervisor
macros:
- macro: '{$VMWARE.HV.DATASTORE.SPACE.CRIT}'
value: '10'
description: 'The critical threshold of the datastore free space.'
- macro: '{$VMWARE.HV.DATASTORE.SPACE.WARN}'
value: '20'
description: 'The warning threshold of the datastore free space.'
- macro: '{$VMWARE.HV.SENSOR.DISCOVERY}'
value: 'false'
description: 'Set to "true"/"false" to enable or disable the monitoring of hardware sensors.'
- macro: '{$VMWARE.HV.SENSOR.DISCOVERY.NAME.MATCHES}'
value: '.*'
description: 'Sets the regex string of hardware sensor names to be allowed in discovery.'
- macro: '{$VMWARE.HV.SENSOR.DISCOVERY.NAME.NOT_MATCHES}'
value: CHANGE_IF_NEEDED
description: 'Sets the regex string of hardware sensor names to be ignored in discovery.'
- macro: '{$VMWARE.HV.UUID}'
description: 'UUID of hypervisor.'
- macro: '{$VMWARE.PASSWORD}'
type: SECRET_TEXT
description: 'VMware service `{$USERNAME}` user password.'
- macro: '{$VMWARE.URL}'
description: 'VMware service (vCenter or ESX hypervisor) SDK URL (https://servername/sdk).'
- macro: '{$VMWARE.USERNAME}'
description: 'VMware service user name.'
dashboards:
- uuid: 1d1da8e6d38a4ea5a99d39cc31a8c435
name: 'Hypervisor overview'
pages:
- name: 'VMware: Hypervisor Overview'
widgets:
- type: gauge
name: 'CPU utilization'
width: '18'
height: '4'
hide_header: 'YES'
fields:
- type: STRING
name: description
value: 'CPU utilization'
- type: INTEGER
name: desc_size
value: '10'
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.cpu.utilization[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: scale_size
value: '10'
- type: STRING
name: thresholds.0.color
value: 0EC9AC
- type: STRING
name: thresholds.0.threshold
value: '0'
- type: STRING
name: thresholds.1.color
value: FFD54F
- type: STRING
name: thresholds.1.threshold
value: '70'
- type: STRING
name: thresholds.2.color
value: FF465C
- type: STRING
name: thresholds.2.threshold
value: '90'
- type: INTEGER
name: th_show_arc
value: '1'
- type: INTEGER
name: th_show_labels
value: '1'
- type: STRING
name: units
value: '%'
- type: item
name: 'Cluster name'
'y': '4'
width: '18'
hide_header: 'YES'
fields:
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.cluster.name[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: show.0
value: '1'
- type: INTEGER
name: show.1
value: '2'
- type: INTEGER
name: value_bold
value: '0'
- type: INTEGER
name: value_size
value: '35'
- type: svggraph
name: 'Used memory'
'y': '6'
width: '51'
height: '6'
fields:
- type: STRING
name: ds.0.color.0
value: FF465C
- type: INTEGER
name: ds.0.dataset_type
value: '0'
- type: INTEGER
name: ds.0.fill
value: '5'
- type: ITEM
name: ds.0.itemids.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.memory.used[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: legend_columns
value: '1'
- type: INTEGER
name: legend_statistic
value: '1'
- type: STRING
name: reference
value: AAAAB
- type: item
name: 'Hypervisor ping'
x: '18'
width: '12'
height: '4'
hide_header: 'YES'
fields:
- type: INTEGER
name: desc_size
value: '7'
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'icmpping[]'
- type: INTEGER
name: show.0
value: '1'
- type: INTEGER
name: show.1
value: '2'
- type: INTEGER
name: show.2
value: '4'
- type: STRING
name: thresholds.0.color
value: F44336
- type: STRING
name: thresholds.0.threshold
value: '0'
- type: STRING
name: thresholds.1.color
value: 32CD32
- type: STRING
name: thresholds.1.threshold
value: '1'
- type: INTEGER
name: value_bold
value: '0'
- type: INTEGER
name: value_size
value: '25'
- type: item
name: 'Datacenter name'
x: '18'
'y': '4'
width: '18'
hide_header: 'YES'
fields:
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.datacenter.name[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: show.0
value: '1'
- type: INTEGER
name: show.1
value: '2'
- type: INTEGER
name: value_bold
value: '0'
- type: INTEGER
name: value_size
value: '35'
- type: item
name: 'Overall status'
x: '30'
width: '18'
height: '4'
hide_header: 'YES'
fields:
- type: INTEGER
name: desc_size
value: '7'
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: show.0
value: '1'
- type: INTEGER
name: show.1
value: '2'
- type: INTEGER
name: show.2
value: '4'
- type: STRING
name: thresholds.0.color
value: D2D2D2
- type: STRING
name: thresholds.0.threshold
value: '0'
- type: STRING
name: thresholds.1.color
value: 32CD32
- type: STRING
name: thresholds.1.threshold
value: '1'
- type: STRING
name: thresholds.2.color
value: FFF176
- type: STRING
name: thresholds.2.threshold
value: '2'
- type: STRING
name: thresholds.3.color
value: F44336
- type: STRING
name: thresholds.3.threshold
value: '3'
- type: INTEGER
name: value_bold
value: '0'
- type: INTEGER
name: value_size
value: '25'
- type: item
name: 'Full name'
x: '36'
'y': '4'
width: '18'
hide_header: 'YES'
fields:
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.fullname[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: show.0
value: '1'
- type: INTEGER
name: show.1
value: '2'
- type: INTEGER
name: value_bold
value: '0'
- type: INTEGER
name: value_size
value: '35'
- type: item
name: 'Connection state'
x: '48'
width: '24'
hide_header: 'YES'
fields:
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.connectionstate[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: show.0
value: '1'
- type: INTEGER
name: show.1
value: '2'
- type: INTEGER
name: show.2
value: '4'
- type: STRING
name: thresholds.0.color
value: 32CD32
- type: STRING
name: thresholds.0.threshold
value: '0'
- type: STRING
name: thresholds.1.color
value: F44336
- type: STRING
name: thresholds.1.threshold
value: '1'
- type: STRING
name: thresholds.2.color
value: FFDAB9
- type: STRING
name: thresholds.2.threshold
value: '2'
- type: INTEGER
name: value_bold
value: '0'
- type: INTEGER
name: value_size
value: '25'
- type: item
name: Uptime
x: '48'
'y': '2'
width: '12'
hide_header: 'YES'
fields:
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.uptime[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: show.0
value: '1'
- type: INTEGER
name: show.1
value: '2'
- type: INTEGER
name: value_bold
value: '0'
- type: item
name: 'Total memory'
x: '51'
'y': '6'
width: '21'
height: '3'
hide_header: 'YES'
fields:
- type: INTEGER
name: desc_size
value: '10'
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.hw.memory[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: show.0
value: '1'
- type: INTEGER
name: show.1
value: '2'
- type: INTEGER
name: units_bold
value: '0'
- type: INTEGER
name: value_bold
value: '0'
- type: INTEGER
name: value_size
value: '35'
- type: item
name: 'Used memory'
x: '51'
'y': '9'
width: '21'
height: '3'
hide_header: 'YES'
fields:
- type: INTEGER
name: desc_size
value: '10'
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.memory.used[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: show.0
value: '1'
- type: INTEGER
name: show.1
value: '2'
- type: INTEGER
name: show.2
value: '4'
- type: INTEGER
name: units_bold
value: '0'
- type: INTEGER
name: value_bold
value: '0'
- type: INTEGER
name: value_size
value: '35'
- type: item
name: Version
x: '54'
'y': '4'
width: '18'
hide_header: 'YES'
fields:
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.version[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: show.0
value: '1'
- type: INTEGER
name: show.1
value: '2'
- type: INTEGER
name: show.2
value: '4'
- type: INTEGER
name: value_bold
value: '0'
- type: INTEGER
name: value_size
value: '35'
- type: item
name: 'Number of guest VMs'
x: '60'
'y': '2'
width: '12'
hide_header: 'YES'
fields:
- type: INTEGER
name: decimal_places
value: '0'
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.vm.num[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: show.0
value: '1'
- type: INTEGER
name: show.1
value: '2'
- type: INTEGER
name: show.2
value: '4'
- type: INTEGER
name: value_bold
value: '0'
- name: 'VMware: CPU'
widgets:
- type: item
name: 'CPU cores'
width: '15'
hide_header: 'YES'
fields:
- type: INTEGER
name: decimal_places
value: '0'
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.hw.cpu.num[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: show.0
value: '1'
- type: INTEGER
name: show.1
value: '2'
- type: INTEGER
name: show.2
value: '4'
- type: INTEGER
name: value_bold
value: '0'
- type: svggraph
name: 'CPU utilization'
'y': '2'
width: '72'
height: '5'
fields:
- type: STRING
name: ds.0.color.0
value: 00BFFF
- type: INTEGER
name: ds.0.dataset_type
value: '0'
- type: INTEGER
name: ds.0.fill
value: '5'
- type: ITEM
name: ds.0.itemids.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.cpu.utilization[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: legend_columns
value: '1'
- type: INTEGER
name: legend_statistic
value: '1'
- type: STRING
name: reference
value: AAAAC
- type: svggraph
name: 'CPU usage'
'y': '7'
width: '72'
height: '5'
fields:
- type: STRING
name: ds.0.color.0
value: 00BFFF
- type: INTEGER
name: ds.0.dataset_type
value: '0'
- type: INTEGER
name: ds.0.fill
value: '5'
- type: ITEM
name: ds.0.itemids.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.cpu.usage[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: legend_columns
value: '1'
- type: INTEGER
name: legend_statistic
value: '1'
- type: STRING
name: reference
value: AAAAI
- type: item
name: 'CPU threads'
x: '15'
width: '15'
hide_header: 'YES'
fields:
- type: INTEGER
name: decimal_places
value: '0'
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.hw.cpu.threads[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: show.0
value: '1'
- type: INTEGER
name: show.1
value: '2'
- type: INTEGER
name: show.2
value: '4'
- type: INTEGER
name: value_bold
value: '0'
- type: item
name: 'CPU frequency'
x: '30'
width: '15'
hide_header: 'YES'
fields:
- type: INTEGER
name: decimal_size
value: '45'
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.hw.cpu.freq[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: show.0
value: '1'
- type: INTEGER
name: show.1
value: '2'
- type: INTEGER
name: show.2
value: '4'
- type: INTEGER
name: units_bold
value: '0'
- type: INTEGER
name: value_bold
value: '0'
- type: item
name: 'CPU model'
x: '45'
width: '27'
hide_header: 'YES'
fields:
- type: INTEGER
name: desc_v_pos
value: '0'
- type: ITEM
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.hw.cpu.model[{$VMWARE.URL},{$VMWARE.HV.UUID}]'
- type: INTEGER
name: show.0
value: '1'
- type: INTEGER
name: show.1
value: '2'
- type: INTEGER
name: show.2
value: '4'
- type: INTEGER
name: value_bold
value: '0'
- type: INTEGER
name: value_size
value: '35'
- name: 'VMware: Network'
widgets:
- type: svggraph
name: 'Number of broadcast'
width: '36'
height: '4'
fields:
- type: STRING
name: ds.0.color.0
value: 00BFFF
- type: INTEGER
name: ds.0.dataset_type
value: '0'
- type: INTEGER
name: ds.0.fill
value: '5'
- type: ITEM
name: ds.0.itemids.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.network.in[{$VMWARE.URL},{$VMWARE.HV.UUID},broadcast]'
- type: STRING
name: ds.1.color.0
value: FF465C
- type: INTEGER
name: ds.1.dataset_type
value: '0'
- type: INTEGER
name: ds.1.fill
value: '5'
- type: ITEM
name: ds.1.itemids.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.network.out[{$VMWARE.URL},{$VMWARE.HV.UUID},broadcast]'
- type: INTEGER
name: legend_columns
value: '1'
- type: INTEGER
name: legend_lines
value: '2'
- type: INTEGER
name: legend_statistic
value: '1'
- type: STRING
name: reference
value: AAAAD
- type: svggraph
name: 'Number of bytes'
'y': '4'
width: '36'
height: '4'
fields:
- type: STRING
name: ds.0.color.0
value: 00BFFF
- type: INTEGER
name: ds.0.dataset_type
value: '0'
- type: INTEGER
name: ds.0.fill
value: '5'
- type: ITEM
name: ds.0.itemids.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.network.in[{$VMWARE.URL},{$VMWARE.HV.UUID},bps]'
- type: STRING
name: ds.1.color.0
value: FF465C
- type: INTEGER
name: ds.1.dataset_type
value: '0'
- type: INTEGER
name: ds.1.fill
value: '5'
- type: ITEM
name: ds.1.itemids.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.network.out[{$VMWARE.URL},{$VMWARE.HV.UUID},bps]'
- type: INTEGER
name: legend_columns
value: '1'
- type: INTEGER
name: legend_lines
value: '2'
- type: INTEGER
name: legend_statistic
value: '1'
- type: STRING
name: reference
value: AAAAE
- type: graphprototype
name: 'Network interface speed'
'y': '8'
width: '72'
height: '4'
fields:
- type: INTEGER
name: columns
value: '1'
- type: ITEM_PROTOTYPE
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.network.linkspeed[{$VMWARE.URL},{$VMWARE.HV.UUID},{#IFNAME}]'
- type: STRING
name: reference
value: AAAAF
- type: INTEGER
name: source_type
value: '3'
- type: svggraph
name: 'Number of dropped'
x: '36'
width: '36'
height: '4'
fields:
- type: STRING
name: ds.0.color.0
value: 00BFFF
- type: INTEGER
name: ds.0.dataset_type
value: '0'
- type: INTEGER
name: ds.0.fill
value: '5'
- type: ITEM
name: ds.0.itemids.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.network.in[{$VMWARE.URL},{$VMWARE.HV.UUID},dropped]'
- type: STRING
name: ds.1.color.0
value: FF465C
- type: INTEGER
name: ds.1.dataset_type
value: '0'
- type: INTEGER
name: ds.1.fill
value: '5'
- type: ITEM
name: ds.1.itemids.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.network.out[{$VMWARE.URL},{$VMWARE.HV.UUID},dropped]'
- type: INTEGER
name: legend_columns
value: '1'
- type: INTEGER
name: legend_lines
value: '2'
- type: INTEGER
name: legend_statistic
value: '1'
- type: STRING
name: reference
value: AAAAG
- type: svggraph
name: 'Number of errors'
x: '36'
'y': '4'
width: '36'
height: '4'
fields:
- type: STRING
name: ds.0.color.0
value: 00BFFF
- type: INTEGER
name: ds.0.dataset_type
value: '0'
- type: INTEGER
name: ds.0.fill
value: '5'
- type: ITEM
name: ds.0.itemids.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.network.in[{$VMWARE.URL},{$VMWARE.HV.UUID},errors]'
- type: STRING
name: ds.1.color.0
value: FF465C
- type: INTEGER
name: ds.1.dataset_type
value: '0'
- type: INTEGER
name: ds.1.fill
value: '5'
- type: ITEM
name: ds.1.itemids.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.network.out[{$VMWARE.URL},{$VMWARE.HV.UUID},errors]'
- type: INTEGER
name: legend_columns
value: '1'
- type: INTEGER
name: legend_lines
value: '2'
- type: INTEGER
name: legend_statistic
value: '1'
- type: STRING
name: reference
value: AAAAH
- name: 'VMware: Datastore'
widgets:
- type: honeycomb
name: 'Total size of datastore'
width: '24'
height: '4'
fields:
- type: STRING
name: bg_color
value: 81D4FA
- type: STRING
name: items.0
value: 'Total size of datastore*'
- type: STRING
name: primary_label
value: '{{ITEM.NAME}.regsub("datastore.\[(.*)\]", \1)}'
- type: INTEGER
name: primary_label_size_type
value: '1'
- type: STRING
name: reference
value: AAAAJ
- type: graphprototype
name: 'Average read IOps of the datastore'
'y': '4'
width: '36'
height: '4'
fields:
- type: INTEGER
name: columns
value: '1'
- type: ITEM_PROTOTYPE
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.datastore.read[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID},rps]'
- type: STRING
name: reference
value: AAAAK
- type: INTEGER
name: source_type
value: '3'
- type: graphprototype
name: 'Average read latency of the datastore'
'y': '8'
width: '36'
height: '4'
fields:
- type: INTEGER
name: columns
value: '1'
- type: ITEM_PROTOTYPE
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.datastore.read[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID},latency]'
- type: STRING
name: reference
value: AAAAP
- type: INTEGER
name: source_type
value: '3'
- type: honeycomb
name: 'Free space on datastore'
x: '24'
width: '24'
height: '4'
fields:
- type: STRING
name: items.0
value: 'Free space on datastore*'
- type: STRING
name: primary_label
value: '{{ITEM.NAME}.regsub("datastore.\[(.*)\]", \1)}'
- type: INTEGER
name: primary_label_size_type
value: '1'
- type: STRING
name: reference
value: AAAAL
- type: STRING
name: thresholds.0.color
value: FF465C
- type: STRING
name: thresholds.0.threshold
value: '10'
- type: STRING
name: thresholds.1.color
value: FFD54F
- type: STRING
name: thresholds.1.threshold
value: '20'
- type: STRING
name: thresholds.2.color
value: 0EC9AC
- type: STRING
name: thresholds.2.threshold
value: '30'
- type: graphprototype
name: 'Average write IOps of the datastore'
x: '36'
'y': '4'
width: '36'
height: '4'
fields:
- type: INTEGER
name: columns
value: '1'
- type: ITEM_PROTOTYPE
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.datastore.write[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID},rps]'
- type: STRING
name: reference
value: AAAAM
- type: INTEGER
name: source_type
value: '3'
- type: graphprototype
name: 'Average write latency of the datastore'
x: '36'
'y': '8'
width: '36'
height: '4'
fields:
- type: INTEGER
name: columns
value: '1'
- type: ITEM_PROTOTYPE
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.datastore.write[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID},latency]'
- type: STRING
name: reference
value: AAAAN
- type: INTEGER
name: source_type
value: '3'
- type: graphprototype
name: 'Free space on datastore'
x: '48'
width: '24'
height: '4'
fields:
- type: INTEGER
name: columns
value: '1'
- type: ITEM_PROTOTYPE
name: itemid.0
value:
host: 'VMware Hypervisor'
key: 'vmware.hv.datastore.size[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE.UUID},pfree]'
- type: STRING
name: reference
value: AAAAO
- type: INTEGER
name: source_type
value: '3'
valuemaps:
- uuid: 25d04e2838af4fcca9ddd21df6781497
name: 'Service state'
mappings:
- value: '0'
newvalue: Down
- value: '1'
newvalue: Up
- uuid: 66bedf62dffd4402a037a6ef0f93f228
name: 'VMware Connection state'
mappings:
- value: '0'
newvalue: Connected
- value: '1'
newvalue: Disconnected
- value: '2'
newvalue: 'Not responding'
- value: '3'
newvalue: Unknown
- uuid: 2b324fd8d7624874a3a81449b62c2cd6
name: 'VMware status'
mappings:
- value: '0'
newvalue: Gray
- value: '1'
newvalue: Green
- value: '2'
newvalue: Yellow
- value: '3'
newvalue: Red