vsphere_get_performance
Retrieve CPU, memory, disk, and network performance counters for VMware VMs and hosts, summarized as latest, average, minimum, and maximum over chosen intervals.
Instructions
Read CPU, memory, disk and network performance counters for a VM or host.
Each counter comes back summarised (latest, average, minimum, maximum)
over the requested window. realtime gives 20-second samples for
roughly the last hour; the rollup intervals cover longer periods.
Args:
entity: VM or host name, managed object id, UUID or inventory path.
entity_type: Whether entity is a vm or a host.
interval: realtime, 5min, 30min, 2hours or 1day.
samples: Number of samples to retrieve, most recent first.
counters: Specific counters in group.name.rollup form, e.g.
cpu.ready.summation. Defaults to a standard set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | ||
| samples | No | ||
| counters | No | ||
| interval | No | realtime | |
| entity_type | No | vm |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||