跳转至

vSphere


·


本采集器采集 vSphere 集群的资源使用指标,包括 CPU、内存和网络等资源,并把这些数据上报到观测云。

配置

前置条件

  • 创建用户

在 vCenter 的管理界面中创建一个用户 datakit,并赋予 read-only 权限,并应用到需要监控的资源上。如果需要监控所有子对象,可以勾选 Propagate to children 选项。

采集器配置

进入 DataKit 安装目录下的 conf.d/samples 目录,复制 vsphere.conf.sample 并命名为 vsphere.conf。示例如下:

[[inputs.vsphere]]
  ## Collect interval
  interval = "60s"

  ## vCenter URL to be monitored
  vcenter = "https://vcenter.local" 

  ## Username and password to be used for authentication
  username = "datakit@corp.local"
  password = "secret"

  ## timeout applies to any of the api request made to vcenter
  timeout = "60s"

  ## VMs
  ## Typical VM metrics (if omitted or empty, all metrics are collected)
  # vm_include = [ "/*/vm/**"] # Inventory path to VMs to collect (by default all are collected)
  # vm_exclude = [] # Inventory paths to exclude
  vm_metric_include = [
    "cpu.demand.average",
    "cpu.idle.summation",
    "cpu.usage.average",
    "cpu.latency.average",
    "cpu.readiness.average",
    "cpu.ready.summation",
    "cpu.run.summation",
    "cpu.usagemhz.average",
    "cpu.used.summation",
    "cpu.wait.summation",
    "mem.active.average",
    "mem.granted.average",
    "mem.latency.average",
    "mem.swapin.average",
    "mem.swapinRate.average",
    "mem.swapout.average",
    "mem.swapoutRate.average",
    "mem.usage.average",
    "mem.vmmemctl.average",
    "net.bytesRx.average",
    "net.bytesTx.average",
    "net.droppedRx.summation",
    "net.droppedTx.summation",
    "net.usage.average",
    "power.power.average",
    "virtualDisk.numberReadAveraged.average",
    "virtualDisk.numberWriteAveraged.average",
    "virtualDisk.read.average",
    "virtualDisk.readOIO.latest",
    "virtualDisk.throughput.usage.average",
    "virtualDisk.totalReadLatency.average",
    "virtualDisk.totalWriteLatency.average",
    "virtualDisk.write.average",
    "virtualDisk.writeOIO.latest",
    "sys.uptime.latest",
  ]
  # vm_metric_exclude = [] ## Nothing is excluded by default
  # vm_instances = true ## true by default

  ## Hosts
  ## Typical host metrics (if omitted or empty, all metrics are collected)
  # host_include = [ "/*/host/**"] # Inventory path to hosts to collect (by default all are collected)
  # host_exclude [] # Inventory paths to exclude
  host_metric_include = [
    "cpu.coreUtilization.average",
    "cpu.costop.summation",
    "cpu.demand.average",
    "cpu.idle.summation",
    "cpu.latency.average",
    "cpu.readiness.average",
    "cpu.ready.summation",
    "cpu.swapwait.summation",
    "cpu.usage.average",
    "cpu.usagemhz.average",
    "cpu.used.summation",
    "cpu.utilization.average",
    "cpu.wait.summation",
    "disk.deviceReadLatency.average",
    "disk.deviceWriteLatency.average",
    "disk.kernelReadLatency.average",
    "disk.kernelWriteLatency.average",
    "disk.numberReadAveraged.average",
    "disk.numberWriteAveraged.average",
    "disk.read.average",
    "disk.totalReadLatency.average",
    "disk.totalWriteLatency.average",
    "disk.write.average",
    "mem.active.average",
    "mem.latency.average",
    "mem.state.latest",
    "mem.swapin.average",
    "mem.swapinRate.average",
    "mem.swapout.average",
    "mem.swapoutRate.average",
    "mem.totalCapacity.average",
    "mem.usage.average",
    "mem.vmmemctl.average",
    "net.bytesRx.average",
    "net.bytesTx.average",
    "net.droppedRx.summation",
    "net.droppedTx.summation",
    "net.errorsRx.summation",
    "net.errorsTx.summation",
    "net.usage.average",
    "power.power.average",
    "storageAdapter.numberReadAveraged.average",
    "storageAdapter.numberWriteAveraged.average",
    "storageAdapter.read.average",
    "storageAdapter.write.average",
    "sys.uptime.latest",
  ]

  # host_metric_exclude = [] ## Nothing excluded by default
  host_instances = true ## true by default

  ## Clusters
  # cluster_include = [ "/*/host/**"] # Inventory path to clusters to collect (by default all are collected)
  # cluster_exclude = [] # Inventory paths to exclude
  # cluster_metric_include = [] ## if omitted or empty, all metrics are collected
  # cluster_metric_exclude = [] ## Nothing excluded by default
  # cluster_instances = false ## false by default

  ## Datastores
  # datastore_include = [ "/*/datastore/**"] # Inventory path to datastores to collect (by default all are collected)
  # datastore_exclude = [] # Inventory paths to exclude
  # datastore_metric_include = [] ## if omitted or empty, all metrics are collected
  # datastore_metric_exclude = [] ## Nothing excluded by default
  # datastore_instances = false ## false by default

  ## Datacenters
  # datacenter_include = [ "/*/host/**"] # Inventory path to clusters to collect (by default all are collected)
  # datacenter_exclude = [] # Inventory paths to exclude
  datacenter_metric_include = [] ## if omitted or empty, all metrics are collected
  datacenter_metric_exclude = [ "*" ] ## Datacenters are not collected by default.
  datacenter_instances = false ## false by default

  ## number of objects to retrieve per query for realtime resources (vms and hosts)
  ## set to 64 for vCenter 5.5 and 6.0 (default: 256)
  # max_query_objects = 256

  ## number of metrics to retrieve per query for non-realtime resources (clusters and datastores)
  ## set to 64 for vCenter 5.5 and 6.0 (default: 256)
  # max_query_metrics = 256

  ## The Historical Interval value must match EXACTLY the interval in the daily
  # "Interval Duration" found on the VCenter server under Configure > General > Statistics > Statistic intervals
  historical_interval = "5m"

  ## Set true to enable election
  election = true

  ## TLS connection config
  # ca_certs = ["/etc/ssl/certs/mongod.cert.pem"]
  # cert = "/etc/ssl/certs/mongo.cert.pem"
  # cert_key = "/etc/ssl/certs/mongo.key.pem"
  # insecure_skip_verify = true
  # server_name = ""

# [inputs.vsphere.tags]
  # "key1" = "value1"
  # "key2" = "value2"
  # ...

配置好后,重启 DataKit 即可。

目前可以通过 ConfigMap 方式注入采集器配置来开启采集器。

指标

以下所有数据采集,默认会追加名为 host 的全局 tag(tag 值为 DataKit 所在主机名),也可以在配置中通过 [inputs.vsphere.tags] 指定其它标签:

 [inputs.vsphere.tags]
  # some_tag = "some_value"
  # more_tag = "some_other_value"
  # ...
Note

下面的指标并非全部被采集到,具体可参阅数据集合级别中的说明。

vsphere_cluster

Tags & Fields Description
cluster_name
(tag)
Cluster name
dcname
(tag)
Datacenter name
host
(tag)
The host of the vCenter
moid
(tag)
The managed object id
cpu_usage_average Percentage of CPU capacity being used.
Type: float | (gauge)
Unit: percent,percent
cpu_usagemhz_average CPU usage, as measured in megahertz.
Type: float | (gauge)
Unit: percent,percent
mem_consumed_average Amount of host physical memory consumed by a virtual machine, host, or cluster.
Type: int | (gauge)
Unit: digital,KB
mem_overhead_average Host physical memory consumed by the virtualization infrastructure for running the virtual machine.
Type: int | (gauge)
Unit: digital,KB
mem_usage_average Memory usage as percent of total configured or available memory.
Type: float | (gauge)
Unit: percent,percent
mem_vmmemctl_average Amount of memory allocated by the virtual machine memory control driver (vmmemctl).
Type: float | (gauge)
Unit: percent,percent
vmop_numChangeDS_latest Number of datastore change operations for powered-off and suspended virtual machines.
Type: int | (gauge)
Unit: count
vmop_numChangeHostDS_latest Number of host and datastore change operations for powered-off and suspended virtual machines.
Type: int | (gauge)
Unit: count
vmop_numChangeHost_latest Number of host change operations for powered-off and suspended virtual machines.
Type: int | (gauge)
Unit: count
vmop_numClone_latest Number of virtual machine clone operations.
Type: int | (gauge)
Unit: count
vmop_numCreate_latest Number of virtual machine create operations.
Type: int | (gauge)
Unit: count
vmop_numDeploy_latest Number of virtual machine template deploy operations.
Type: int | (gauge)
Unit: count
vmop_numDestroy_latest Number of virtual machine delete operations.
Type: int | (gauge)
Unit: count
vmop_numPoweroff_latest Number of virtual machine power off operations.
Type: int | (gauge)
Unit: count
vmop_numPoweron_latest Number of virtual machine power on operations.
Type: int | (gauge)
Unit: count
vmop_numRebootGuest_latest Number of virtual machine guest reboot operations.
Type: int | (gauge)
Unit: count
vmop_numReconfigure_latest Number of virtual machine reconfigure operations.
Type: int | (gauge)
Unit: count
vmop_numRegister_latest Number of virtual machine register operations.
Type: int | (gauge)
Unit: count
vmop_numReset_latest Number of virtual machine reset operations.
Type: int | (gauge)
Unit: count
vmop_numSVMotion_latest Number of migrations with Storage vMotion (datastore change operations for powered-on VMs).
Type: int | (gauge)
Unit: count
vmop_numShutdownGuest_latest Number of virtual machine guest shutdown operations.
Type: int | (gauge)
Unit: count
vmop_numStandbyGuest_latest Number of virtual machine standby guest operations.
Type: int | (gauge)
Unit: count
vmop_numSuspend_latest Number of virtual machine suspend operations.
Type: int | (gauge)
Unit: count
vmop_numUnregister_latest Number of virtual machine unregister operations.
Type: int | (gauge)
Unit: count
vmop_numVMotion_latest Number of migrations with vMotion (host change operations for powered-on VMs).
Type: int | (gauge)
Unit: count
vmop_numXVMotion_latest Number of host and datastore change operations for powered-on and suspended virtual machines.
Type: int | (gauge)
Unit: count

vsphere_datastore

Tags & Fields Description
dcname
(tag)
Datacenter name
dsname
(tag)
The name of the datastore
host
(tag)
The host of the vCenter
moid
(tag)
The managed object id
datastore_busResets_sum Number of SCSI-bus reset commands issued.
Type: int | (gauge)
Unit: count
datastore_commandsAborted_sum Number of SCSI commands aborted.
Type: int | (gauge)
Unit: count
datastore_numberReadAveraged_average Average number of read commands issued per second to the datastore.
Type: float | (gauge)
Unit: count
datastore_numberWriteAveraged_average Average number of write commands issued per second to the datastore during the collection interval.
Type: float | (gauge)
Unit: count
datastore_throughput_contention.avg Average amount of time for an I/O operation to the datastore or LUN across all ESX hosts accessing it.
Type: int | (gauge)
Unit: time,ms
datastore_throughput_usage_average The current bandwidth usage for the datastore or LUN.
Type: int | (gauge)
Unit: digital,KB
disk_busResets_sum Number of SCSI-bus reset commands issued.
Type: int | (gauge)
Unit: count
disk_capacity_contention_average The amount of storage capacity overcommitment for the entity, measured in percent.
Type: float | (gauge)
Unit: percent,percent
disk_capacity_latest Configured size of the datastore.
Type: int | (gauge)
Unit: digital,KB
disk_capacity_provisioned_average Provisioned size of the entity.
Type: int | (gauge)
Unit: digital,KB
disk_capacity_usage.avg The amount of storage capacity currently being consumed by or on the entity.
Type: int | (gauge)
Unit: digital,KB
disk_numberReadAveraged_average Average number of read commands issued per second to the datastore.
Type: float | (gauge)
Unit: count
disk_numberWriteAveraged_average Average number of write commands issued per second to the datastore.
Type: float | (gauge)
Unit: count
disk_provisioned_latest Amount of storage set aside for use by a datastore or a virtual machine. Files on the datastore and the virtual machine can expand to this size but not beyond it.
Type: int | (gauge)
Unit: digital,KB
disk_unshared_latest Amount of space associated exclusively with a virtual machine.
Type: int | (gauge)
Unit: digital,KB
disk_used_latest Amount of space actually used by the virtual machine or the datastore. May be less than the amount provisioned at any given time, depending on whether the virtual machine is powered-off, whether snapshots have been created or not, and other such factors.
Type: int | (gauge)
Unit: digital,KB

vsphere_host

Tags & Fields Description
cluster_name
(tag)
Cluster name
dcname
(tag)
Datacenter name
esx_hostname
(tag)
The name of the ESXi host
host
(tag)
The host of the vCenter
instance
(tag)
The name of the instance
moid
(tag)
The managed object id
cpu_capacity_contention_average Percent of time the virtual machine is unable to run because it is contending for access to the physical CPU(s).
Type: float | (gauge)
Unit: percent,percent
cpu_capacity_usage_average CPU usage as a percent during the interval.
Type: int | (gauge)
Unit: -
cpu_coreUtilization_average CPU utilization of the corresponding core (if hyper-threading is enabled) as a percentage.
Type: int | (gauge)
Unit: percent,percent
cpu_costop_sum Time the virtual machine is ready to run, but is unable to run due to co-scheduling constraints.
Type: int | (gauge)
Unit: time,ms
cpu_demand_average The amount of CPU resources a virtual machine would use if there were no CPU contention or CPU limit.
Type: int | (gauge)
Unit: -
cpu_idle_sum Total time that the CPU spent in an idle state.
Type: int | (gauge)
Unit: time,ms
cpu_latency_average Percent of time the virtual machine is unable to run because it is contending for access to the physical CPU(s).
Type: int | (gauge)
Unit: percent,percent
cpu_readiness_average Percentage of time that the virtual machine was ready, but could not get scheduled to run on the physical CPU.
Type: int | (gauge)
Unit: percent,percent
cpu_ready_sum Milliseconds of CPU time spent in ready state.
Type: int | (gauge)
Unit: time,ms
cpu_reservedCapacity_average Total CPU capacity reserved by virtual machines.
Type: int | (gauge)
Unit: -
cpu_swapwait_sum CPU time spent waiting for swap-in.
Type: int | (gauge)
Unit: time,ms
cpu_totalCapacity_average Total CPU capacity reserved by and available for virtual machines.
Type: int | (gauge)
Unit: -
cpu_usage_average Percentage of CPU capacity being used.
Type: float | (gauge)
Unit: percent,percent
cpu_usagemhz_average CPU usage, as measured in megahertz.
Type: float | (gauge)
Unit: -
cpu_used_sum Time accounted to the virtual machine. If a system service runs on behalf of this virtual machine, the time spent by that service (represented by cpu.system) should be charged to this virtual machine. If not, the time spent (represented by cpu.overlap) should not be charged against this virtual machine.
Type: int | (gauge)
Unit: time,ms
cpu_utilization_average CPU utilization as a percentage during the interval (CPU usage and CPU utilization might be different due to power management technologies or hyper-threading).
Type: int | (gauge)
Unit: percent,percent
cpu_wait_sum Total CPU time spent in wait state.The wait total includes time spent the CPU Idle, CPU Swap Wait, and CPU I/O Wait states.
Type: int | (gauge)
Unit: time,ms
datastore_datastoreIops_average Storage I/O Control aggregated IOPS.
Type: int | (gauge)
Unit: -
datastore_datastoreMaxQueueDepth_latest Storage I/O Control datastore maximum queue depth.
Type: int | (gauge)
Unit: -
datastore_datastoreNormalReadLatency_latest Storage DRS datastore normalized read latency.
Type: int | (gauge)
Unit: time,ms
datastore_datastoreNormalWriteLatency_latest Storage DRS datastore normalized write latency.
Type: int | (gauge)
Unit: time,ms
datastore_datastoreReadBytes_latest Storage DRS datastore bytes read.
Type: int | (gauge)
Unit: time,ms
datastore_datastoreReadIops_latest Storage DRS datastore read I/O rate.
Type: int | (gauge)
Unit: -
datastore_datastoreReadLoadMetric_latest Storage DRS datastore metric for read workload model.
Type: int | (gauge)
Unit: -
datastore_datastoreReadOIO_latest Storage DRS datastore outstanding read requests.
Type: int | (gauge)
Unit: -
datastore_datastoreVMObservedLatency_latest The average datastore latency as seen by virtual machines.
Type: int | (gauge)
Unit: time,μs
datastore_datastoreWriteBytes_latest Storage DRS datastore bytes written.
Type: int | (gauge)
Unit: time,ms
datastore_datastoreWriteIops_latest Storage DRS datastore write I/O rate.
Type: int | (gauge)
Unit: -
datastore_datastoreWriteLoadMetric_latest Storage DRS datastore metric for write workload model.
Type: int | (gauge)
Unit: -
datastore_datastoreWriteOIO_latest Storage DRS datastore outstanding write requests.
Type: int | (gauge)
Unit: -
datastore_maxTotalLatency_latest Highest latency value across all datastores used by the host.
Type: int | (gauge)
Unit: time,ms
datastore_numberReadAveraged_average Average number of read commands issued per second to the datastore.
Type: float | (gauge)
Unit: -
datastore_numberWriteAveraged_average Average number of write commands issued per second to the datastore during the collection interval.
Type: float | (gauge)
Unit: -
datastore_read_average Rate of reading data from the datastore.
Type: float | (gauge)
Unit: digital,KB
datastore_siocActiveTimePercentage_average Percentage of time Storage I/O Control actively controlled datastore latency.
Type: int | (gauge)
Unit: percent,percent
datastore_sizeNormalizedDatastoreLatency_average Storage I/O Control size-normalized I/O latency.
Type: int | (gauge)
Unit: time,μs
datastore_totalReadLatency_average Average amount of time for a read operation from the datastore.
Type: float | (gauge)
Unit: time,ms
datastore_totalWriteLatency_average Average amount of time for a write operation from the datastore.
Type: float | (gauge)
Unit: time,ms
datastore_write_average Rate of writing data to the datastore.
Type: float | (gauge)
Unit: digital,KB
disk_busResets_sum Number of SCSI-bus reset commands issued.
Type: int | (gauge)
Unit: -
disk_commandsAborted_sum Number of SCSI commands aborted.
Type: int | (gauge)
Unit: -
disk_commandsAveraged_average Average number of SCSI commands issued per second.
Type: int | (gauge)
Unit: -
disk_commands_sum Number of SCSI commands issued
Type: int | (gauge)
Unit: -
disk_deviceLatency_average Average amount of time it takes to complete an SCSI command from physical device.
Type: int | (gauge)
Unit: time,ms
disk_deviceReadLatency_average Average amount of time to read from the physical device.
Type: int | (gauge)
Unit: time,ms
disk_deviceWriteLatency_average Average amount of time to write from the physical device.
Type: int | (gauge)
Unit: time,ms
disk_kernelLatency_average Average amount of time spent by VMkernel to process each SCSI command.
Type: int | (gauge)
Unit: time,ms
disk_kernelReadLatency_average Average amount of time spent by VMkernel to process each SCSI read command.
Type: int | (gauge)
Unit: time,ms
disk_kernelWriteLatency_average Average amount of time spent by VMkernel to process each SCSI write command.
Type: int | (gauge)
Unit: time,ms
disk_maxQueueDepth_average Maximum queue depth.
Type: int | (gauge)
Unit: -
disk_maxTotalLatency_latest Highest latency value across all disks used by the host.
Type: int | (gauge)
Unit: time,ms
disk_numberReadAveraged_average Average number of read commands issued per second to the datastore.
Type: int | (gauge)
Unit: -
disk_numberRead_sum Number of disk reads during the collection interval.
Type: int | (gauge)
Unit: -
disk_numberWriteAveraged_average Average number of write commands issued per second to the datastore.
Type: float | (gauge)
Unit: -
disk_numberWrite_sum Number of disk writes during the collection interval.
Type: int | (gauge)
Unit: -
disk_queueLatency_average Average amount of time spent in the VMkernel queue per SCSI command.
Type: int | (gauge)
Unit: time,ms
disk_queueReadLatency_average Average amount of time spent in the VMkernel queue per SCSI read command.
Type: int | (gauge)
Unit: time,ms
disk_queueWriteLatency_average Average amount of time spent in the VMkernel queue per SCSI write command.
Type: int | (gauge)
Unit: time,ms
disk_read_average Average number of kilobytes read from the disk each second.
Type: float | (gauge)
Unit: digital,KB
disk_scsiReservationCnflctsPct_average Number of SCSI reservation conflicts for the LUN as a percent of total commands during the collection interval.
Type: int | (gauge)
Unit: percent,percent
disk_scsiReservationConflicts_sum Number of SCSI reservation conflicts for the LUN during the collection interval.
Type: int | (gauge)
Unit: -
disk_totalLatency_average Average amount of time taken during the collection interval to process a SCSI command issued by the guest OS to the virtual machine.
Type: int | (gauge)
Unit: time,ms
disk_totalReadLatency_average Average amount of time taken to process a SCSI read command issued from the guest OS to the virtual machine.
Type: int | (gauge)
Unit: time,ms
disk_totalWriteLatency_average Average amount of time taken to process a SCSI write command issued by the guest OS to the virtual machine.
Type: int | (gauge)
Unit: time,ms
disk_usage_average Aggregated disk I/O rate.
Type: float | (gauge)
Unit: digital,KB
disk_write_average Average number of kilobytes written to the disk each second.
Type: float | (gauge)
Unit: digital,KB
hbr_hbrNetRx_average Kilobytes per second of outgoing host-based replication network traffic (for this virtual machine or host).
Type: float | (gauge)
Unit: digital,KB
hbr_hbrNetTx_average Average amount of data transmitted per second.
Type: float | (gauge)
Unit: digital,KB
hbr_hbrNumVms_average Number of powered-on virtual machines running on this host that currently have host-based replication protection enabled.
Type: int | (gauge)
Unit: -
mem_active_average Amount of memory that is actively used, as estimated by VMkernel based on recently touched memory pages.
Type: float | (gauge)
Unit: digital,KB
mem_activewrite_average Estimate for the amount of memory actively being written to by the virtual machine.
Type: float | (gauge)
Unit: digital,KB
mem_capacity_contention_average Percentage of time VMs are waiting to access swapped, compressed or ballooned memory.
Type: int | (gauge)
Unit: digital,KB
mem_capacity_usage_average Amount of physical memory actively used.
Type: int | (gauge)
Unit: digital,KB
mem_compressed_average Amount of memory reserved by userworlds.
Type: float | (gauge)
Unit: digital,KB
mem_compressionRate_average Rate of memory compression for the virtual machine.
Type: float | (gauge)
Unit: digital,KB
mem_consumed_average Amount of host physical memory consumed by a virtual machine, host, or cluster.
Type: float | (gauge)
Unit: digital,KB
mem_consumed_userworlds.avg Amount of physical memory consumed by userworlds on this host.
Type: int | (gauge)
Unit: digital,KB
mem_consumed_vms.avg Amount of physical memory consumed by VMs on this host.
Type: int | (gauge)
Unit: digital,KB
mem_decompressionRate_average Rate of memory decompression for the virtual machine.
Type: float | (gauge)
Unit: digital,KB
mem_granted_average Amount of host physical memory or physical memory that is mapped for a virtual machine or a host.
Type: float | (gauge)
Unit: digital,KB
mem_heap_average VMkernel virtual address space dedicated to VMkernel main heap and related data.
Type: int | (gauge)
Unit: digital,KB
mem_heapfree_average Free address space in the VMkernel main heap.Varies based on number of physical devices and configuration options. There is no direct way for the user to increase or decrease this statistic. For informational purposes only: not useful for performance monitoring.
Type: int | (gauge)
Unit: digital,KB
mem_latency_average Percentage of time the virtual machine is waiting to access swapped or compressed memory.
Type: float | (gauge)
Unit: percent,percent
mem_llSwapInRate_average Rate at which memory is being swapped from host cache into active memory.
Type: float | (gauge)
Unit: digital,KB
mem_llSwapIn_average Amount of memory swapped-in from host cache.
Type: int | (gauge)
Unit: digital,KB
mem_llSwapOutRate_average Rate at which memory is being swapped from active memory to host cache.
Type: float | (gauge)
Unit: digital,KB
mem_llSwapOut_average Amount of memory swapped-out to host cache.
Type: int | (gauge)
Unit: digital,KB
mem_llSwapUsed_average Space used for caching swapped pages in the host cache.
Type: float | (gauge)
Unit: digital,KB
mem_lowfreethreshold_average Threshold of free host physical memory below which ESX/ESXi will begin reclaiming memory from virtual machines through ballooning and swapping.
Type: int | (gauge)
Unit: digital,KB
mem_overhead_average Host physical memory consumed by the virtualization infrastructure for running the virtual machine.
Type: float | (gauge)
Unit: digital,KB
mem_reservedCapacity_average Total amount of memory reservation used by powered-on virtual machines and vSphere services on the host.
Type: int | (gauge)
Unit: digital,MB
mem_shared_average Amount of guest physical memory that is shared with other virtual machines, relative to a single virtual machine or to all powered-on virtual machines on a host.
Type: float | (gauge)
Unit: digital,KB
mem_sharedcommon_average Amount of machine memory that is shared by all powered-on virtual machines and vSphere services on the host.
Type: int | (gauge)
Unit: digital,KB
mem_state_latest One of four threshold levels representing the percentage of free memory on the host. The counter value determines swapping and ballooning behavior for memory reclamation.
Type: int | (gauge)
Unit: digital,KB
mem_swapinRate_average Rate at which memory is swapped from disk into active memory.
Type: float | (gauge)
Unit: digital,KB
mem_swapin_average Amount of memory swapped-in from disk.
Type: float | (gauge)
Unit: digital,KB
mem_swapoutRate_average Rate at which memory is being swapped from active memory to disk.
Type: float | (gauge)
Unit: digital,KB
mem_swapout_average Amount of memory swapped-out to disk.
Type: float | (gauge)
Unit: digital,KB
mem_swapused_average Amount of memory that is used by swap. Sum of memory swapped of all powered on VMs and vSphere services on the host.
Type: int | (gauge)
Unit: digital,KB
mem_sysUsage_average Amount of host physical memory used by VMkernel for core functionality, such as device drivers and other internal uses. Does not include memory used by virtual machines or vSphere services.
Type: int | (gauge)
Unit: digital,KB
mem_totalCapacity_average Total amount of memory reservation used by and available for powered-on virtual machines and vSphere services on the host.
Type: int | (gauge)
Unit: digital,MB
mem_unreserved_average Amount of memory that is unreserved. Memory reservation not used by the Service Console, VMkernel, vSphere services and other powered on VMs user-specified memory reservations and overhead memory.
Type: int | (gauge)
Unit: digital,KB
mem_usage_average Memory usage as percent of total configured or available memory
Type: float | (gauge)
Unit: percent,percent
mem_vmfs_pbc_capMissRatio_latest Trailing average of the ratio of capacity misses to compulsory misses for the VMFS PB Cache.
Type: int | (gauge)
Unit: percent,percent
mem_vmfs_pbc_overhead_latest Amount of VMFS heap used by the VMFS PB Cache.
Type: int | (gauge)
Unit: digital,KB
mem_vmfs_pbc_sizeMax_latest Maximum size the VMFS Pointer Block Cache can grow to.
Type: int | (gauge)
Unit: digital,MB
mem_vmfs_pbc_size_latest Space used for holding VMFS Pointer Blocks in memory.
Type: int | (gauge)
Unit: digital,MB
mem_vmfs_pbc_workingSetMax_latest Maximum amount of file blocks whose addresses are cached in the VMFS PB Cache.
Type: int | (gauge)
Unit: digital,TB
mem_vmfs_pbc_workingSet_latest Amount of file blocks whose addresses are cached in the VMFS PB Cache.
Type: int | (gauge)
Unit: digital,TB
mem_vmmemctl_average Amount of memory allocated by the virtual machine memory control driver (vmmemctl).
Type: int | (gauge)
Unit: digital,KB
mem_zero_average Memory that contains 0s only. Included in shared amount. Through transparent page sharing, zero memory pages can be shared among virtual machines that run the same operating system.
Type: int | (gauge)
Unit: digital,KB
net_broadcastRx_sum Number of broadcast packets received.
Type: int | (gauge)
Unit: -
net_broadcastTx_sum Number of broadcast packets transmitted.
Type: int | (gauge)
Unit: -
net_bytesRx_average Average amount of data received per second.
Type: int | (gauge)
Unit: digital,KB
net_bytesTx_average Average amount of data transmitted per second.
Type: int | (gauge)
Unit: digital,KB
net_droppedRx_sum Number of received packets dropped.
Type: int | (gauge)
Unit: -
net_droppedTx_sum Number of transmitted packets dropped.
Type: int | (gauge)
Unit: -
net_errorsRx_sum Number of packets with errors received.
Type: int | (gauge)
Unit: -
net_errorsTx_sum Number of packets with errors transmitted.
Type: int | (gauge)
Unit: -
net_multicastRx_sum Number of multicast packets received.
Type: int | (gauge)
Unit: -
net_multicastTx_sum Number of multicast packets transmitted.
Type: int | (gauge)
Unit: -
net_packetsRx_sum Number of packets received.
Type: int | (gauge)
Unit: -
net_packetsTx_sum Number of packets transmitted.
Type: int | (gauge)
Unit: -
net_received_average Average rate at which data was received during the interval. This represents the bandwidth of the network.
Type: float | (gauge)
Unit: digital,KB
net_throughput_usage_average The current network bandwidth usage for the host.
Type: float | (gauge)
Unit: digital,KB
net_transmitted_average Average rate at which data was transmitted during the interval. This represents the bandwidth of the network.
Type: float | (gauge)
Unit: digital,KB
net_unknownProtos_sum Number of frames with unknown protocol received.
Type: int | (gauge)
Unit: digital,KB
net_usage_average Network utilization (combined transmit- and receive-rates).
Type: float | (gauge)
Unit: digital,KB
power_energy_sum Total energy (in joule) used since last stats reset.
Type: int | (gauge)
Unit: -
power_powerCap_average Maximum allowed power usage.
Type: int | (gauge)
Unit: -
power_power_average Current power usage.
Type: int | (gauge)
Unit: -
rescpu_actav15_latest CPU active average over 15 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_actav1_latest CPU active average over 1 minute.
Type: int | (gauge)
Unit: percent,percent
rescpu_actav5_latest CPU active average over 5 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_actpk15_latest CPU active peak over 15 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_actpk1_latest CPU active peak over 1 minute.
Type: int | (gauge)
Unit: percent,percent
rescpu_actpk5_latest CPU active peak over 5 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_maxLimited15_latest Amount of CPU resources over the limit that were refused, average over 15 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_maxLimited1_latest Amount of CPU resources over the limit that were refused, average over 1 minute.
Type: int | (gauge)
Unit: percent,percent
rescpu_maxLimited5_latest Amount of CPU resources over the limit that were refused, average over 5 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_runav15_latest CPU running average over 15 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_runav1_latest CPU running average over 1 minute.
Type: int | (gauge)
Unit: percent,percent
rescpu_runav5_latest CPU running average over 5 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_runpk15_latest CPU running peak over 15 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_runpk1_latest CPU running peak over 1 minute.
Type: int | (gauge)
Unit: percent,percent
rescpu_runpk5_latest CPU running peak over 5 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_sampleCount_latest Group CPU sample count.
Type: int | (gauge)
Unit: -
rescpu_samplePeriod_latest Group CPU sample period.
Type: int | (gauge)
Unit: time,ms
storageAdapter_commandsAveraged_average Average number of commands issued per second by the storage adapter.
Type: int | (gauge)
Unit: -
storageAdapter_maxTotalLatency_latest Highest latency value across all storage adapters used by the host.
Type: int | (gauge)
Unit: time,ms
storageAdapter_numberReadAveraged_average Average number of read commands issued per second by the storage adapter.
Type: int | (gauge)
Unit: -
storageAdapter_numberWriteAveraged_average Average number of write commands issued per second by the storage adapter.
Type: int | (gauge)
Unit: -
storageAdapter_outstandingIOs_average The number of I/Os that have been issued but have not yet completed.
Type: int | (gauge)
Unit: -
storageAdapter_queueDepth_average The maximum number of I/Os that can be outstanding at a given time.
Type: int | (gauge)
Unit: -
storageAdapter_queueLatency_average Average amount of time spent in the VMkernel queue per SCSI command.
Type: int | (gauge)
Unit: -
storageAdapter_queued_average The current number of I/Os that are waiting to be issued.
Type: int | (gauge)
Unit: -
storageAdapter_read_average Rate of reading data by the storage adapter.
Type: int | (gauge)
Unit: digital,KB
storageAdapter_totalReadLatency_average Average amount of time for a read operation by the storage adapter.
Type: int | (gauge)
Unit: time,ms
storageAdapter_totalWriteLatency_average Average amount of time for a write operation by the storage adapter.
Type: int | (gauge)
Unit: time,ms
storageAdapter_write_average Rate of writing data by the storage adapter.
Type: int | (gauge)
Unit: digital,KB
storagePath_busResets_sum Number of SCSI-bus reset commands issued.
Type: int | (gauge)
Unit: -
storagePath_commandsAborted_sum Number of SCSI commands aborted.
Type: int | (gauge)
Unit: -
storagePath_commandsAveraged_average Average number of commands issued per second on the storage path during the collection interval.
Type: int | (gauge)
Unit: -
storagePath_maxTotalLatency_latest Highest latency value across all storage paths used by the host.
Type: int | (gauge)
Unit: time,ms
storagePath_numberReadAveraged_average Average number of read commands issued per second on the storage path during the collection interval.
Type: int | (gauge)
Unit: -
storagePath_numberWriteAveraged_average Average number of write commands issued per second on the storage path during the collection interval.
Type: int | (gauge)
Unit: -
storagePath_read_average Rate of reading data on the storage path.
Type: int | (gauge)
Unit: digital,KB
storagePath_totalReadLatency_average Average amount of time for a read issued on the storage path. Total latency = kernel latency + device latency.
Type: int | (gauge)
Unit: time,ms
storagePath_totalWriteLatency_average Average amount of time for a write issued on the storage path. Total latency = kernel latency + device latency.
Type: int | (gauge)
Unit: time,ms
storagePath_write_average Rate of writing data on the storage path.
Type: int | (gauge)
Unit: digital,KB
sys_resourceCpuAct1_latest CPU active average over 1 minute of the system resource group.
Type: int | (gauge)
Unit: percent,percent
sys_resourceCpuAct5_latest CPU active average over 5 minutes of the system resource group.
Type: int | (gauge)
Unit: percent,percent
sys_resourceCpuAllocMax_latest CPU allocation limit (in MHz) of the system resource group.
Type: int | (gauge)
Unit: -
sys_resourceCpuAllocMin_latest CPU allocation reservation (in MHz) of the system resource group.
Type: int | (gauge)
Unit: -
sys_resourceCpuAllocShares_latest CPU allocation shares of the system resource group.
Type: int | (gauge)
Unit: -
sys_resourceCpuMaxLimited1_latest CPU maximum limited over 1 minute of the system resource group.
Type: int | (gauge)
Unit: percent,percent
sys_resourceCpuMaxLimited5_latest CPU maximum limited over 5 minutes of the system resource group.
Type: int | (gauge)
Unit: percent,percent
sys_resourceCpuRun1_latest CPU running average over 1 minute of the system.
Type: int | (gauge)
Unit: percent,percent
sys_resourceCpuRun5_latest CPU running average over 5 minutes of the system resource group.
Type: int | (gauge)
Unit: percent,percent
sys_resourceCpuUsage_average Amount of CPU used by the Service Console and other applications during the interval by the Service Console and other applications.
Type: int | (gauge)
Unit: -
sys_resourceFdUsage_latest Number of file descriptors used by the system resource group.
Type: int | (gauge)
Unit: -
sys_resourceMemAllocMax_latest Memory allocation limit (in KB) of the system resource group.
Type: int | (gauge)
Unit: digital,KB
sys_resourceMemAllocMin_latest Memory allocation reservation (in KB) of the system resource group.
Type: int | (gauge)
Unit: digital,KB
sys_resourceMemAllocShares_latest Memory allocation shares of the system resource group.
Type: int | (gauge)
Unit: -
sys_resourceMemConsumed_latest Memory consumed by the system resource group.
Type: int | (gauge)
Unit: digital,KB
sys_resourceMemCow_latest Memory shared by the system resource group.
Type: int | (gauge)
Unit: digital,KB
sys_resourceMemMapped_latest Memory mapped by the system resource group.
Type: int | (gauge)
Unit: digital,KB
sys_resourceMemOverhead_latest Overhead memory consumed by the system resource group.
Type: int | (gauge)
Unit: digital,KB
sys_resourceMemShared_latest Memory saved due to sharing by the system resource group.
Type: int | (gauge)
Unit: digital,KB
sys_resourceMemSwapped_latest Memory swapped out by the system resource group.
Type: int | (gauge)
Unit: digital,KB
sys_resourceMemTouched_latest Memory touched by the system resource group.
Type: int | (gauge)
Unit: digital,KB
sys_resourceMemZero_latest Zero filled memory used by the system resource group.
Type: int | (gauge)
Unit: digital,KB
sys_uptime_latest Total time elapsed since last system startup
Type: int | (gauge)
Unit: time,s
virtualDisk_busResets_sum Number of SCSI-bus reset commands issued.
Type: int | (gauge)
Unit: -
virtualDisk_commandsAborted_sum Number of SCSI commands aborted
Type: int | (gauge)
Unit: -

vsphere_vm

Tags & Fields Description
cluster_name
(tag)
Cluster name
dcname
(tag)
Datacenter name
esx_hostname
(tag)
The name of the ESXi host
host
(tag)
The host of the vCenter
instance
(tag)
The name of the instance
moid
(tag)
The managed object id
vm_name
(tag)
The name of the resource
cpu_capacity_contention_average Percent of time the virtual machine is unable to run because it is contending for access to the physical CPU(s).
Type: float | (gauge)
Unit: percent,percent
cpu_capacity_demand_average The amount of CPU resources a virtual machine would use if there were no CPU contention or CPU limit.
Type: int | (gauge)
Unit: -
cpu_capacity_usage_average CPU usage as a percent during the interval.
Type: int | (gauge)
Unit: -
cpu_costop_sum Time the virtual machine is ready to run, but is unable to run due to co-scheduling constraints.
Type: int | (gauge)
Unit: time,ms
cpu_demandEntitlementRatio_latest CPU resource entitlement to CPU demand ratio (in percents).
Type: float | (gauge)
Unit: percent,percent
cpu_demand_average The amount of CPU resources a virtual machine would use if there were no CPU contention or CPU limit.
Type: int | (gauge)
Unit: -
cpu_entitlement_latest CPU resources devoted by the ESXi scheduler.
Type: int | (gauge)
Unit: -
cpu_idle_sum Total time that the CPU spent in an idle state.
Type: int | (gauge)
Unit: time,ms
cpu_latency_average Percent of time the virtual machine is unable to run because it is contending for access to the physical CPU(s).
Type: int | (gauge)
Unit: percent,percent
cpu_maxlimited_sum Time the virtual machine is ready to run, but is not running because it has reached its maximum CPU limit setting.
Type: int | (gauge)
Unit: time,ms
cpu_overlap_sum Time the virtual machine was interrupted to perform system services on behalf of itself or other virtual machines.
Type: int | (gauge)
Unit: time,ms
cpu_readiness_average Percentage of time that the virtual machine was ready, but could not get scheduled to run on the physical CPU.
Type: int | (gauge)
Unit: percent,percent
cpu_ready_sum Milliseconds of CPU time spent in ready state.
Type: int | (gauge)
Unit: time,ms
cpu_run_sum Time the virtual machine is scheduled to run.
Type: int | (gauge)
Unit: time,ms
cpu_swapwait_sum CPU time spent waiting for swap-in.
Type: int | (gauge)
Unit: time,ms
cpu_system_sum Amount of time spent on system processes on each virtual CPU in the virtual machine. This is the host view of the CPU usage, not the guest operating system view.
Type: int | (gauge)
Unit: time,ms
cpu_usage_average Percentage of CPU capacity being used.
Type: float | (gauge)
Unit: percent,percent
cpu_usagemhz_average CPU usage, as measured in megahertz.
Type: float | (gauge)
Unit: -
cpu_used_sum Time accounted to the virtual machine. If a system service runs on behalf of this virtual machine, the time spent by that service (represented by cpu.system) should be charged to this virtual machine. If not, the time spent (represented by cpu.overlap) should not be charged against this virtual machine.
Type: int | (gauge)
Unit: time,ms
cpu_wait_sum Total CPU time spent in wait state.The wait total includes time spent the CPU Idle, CPU Swap Wait, and CPU I/O Wait states.
Type: int | (gauge)
Unit: time,ms
datastore_maxTotalLatency_latest Highest latency value across all datastores used by the host.
Type: int | (gauge)
Unit: time,ms
datastore_numberReadAveraged_average Average number of read commands issued per second to the datastore.
Type: float | (gauge)
Unit: -
datastore_numberWriteAveraged_average Average number of write commands issued per second to the datastore during the collection interval.
Type: float | (gauge)
Unit: -
datastore_read_average Rate of reading data from the datastore.
Type: float | (gauge)
Unit: digital,KB
datastore_totalReadLatency_average Average amount of time for a read operation from the datastore.
Type: float | (gauge)
Unit: time,ms
datastore_totalWriteLatency_average Average amount of time for a write operation from the datastore.
Type: float | (gauge)
Unit: time,ms
datastore_write_average Rate of writing data to the datastore.
Type: float | (gauge)
Unit: digital,KB
disk_busResets_sum Number of SCSI-bus reset commands issued.
Type: int | (gauge)
Unit: -
disk_commandsAborted_sum Number of SCSI commands aborted.
Type: int | (gauge)
Unit: -
disk_commandsAveraged_average Average number of SCSI commands issued per second.
Type: int | (gauge)
Unit: -
disk_commands_sum Number of SCSI commands issued
Type: int | (gauge)
Unit: -
disk_maxTotalLatency_latest Highest latency value across all disks used by the host.
Type: int | (gauge)
Unit: time,ms
disk_numberReadAveraged_average Average number of read commands issued per second to the datastore.
Type: int | (gauge)
Unit: -
disk_numberRead_sum Number of disk reads during the collection interval.
Type: int | (gauge)
Unit: -
disk_numberWriteAveraged_average Average number of write commands issued per second to the datastore.
Type: float | (gauge)
Unit: -
disk_numberWrite_sum Number of disk writes during the collection interval.
Type: int | (gauge)
Unit: -
disk_read_average Average number of kilobytes read from the disk each second.
Type: float | (gauge)
Unit: digital,KB
disk_usage_average Aggregated disk I/O rate.
Type: float | (gauge)
Unit: digital,KB
disk_write_average Average number of kilobytes written to the disk each second.
Type: float | (gauge)
Unit: digital,KB
hbr_hbrNetRx_average Kilobytes per second of outgoing host-based replication network traffic (for this virtual machine or host).
Type: float | (gauge)
Unit: digital,KB
hbr_hbrNetTx_average Average amount of data transmitted per second.
Type: float | (gauge)
Unit: digital,KB
mem_active_average Amount of memory that is actively used, as estimated by VMkernel based on recently touched memory pages.
Type: float | (gauge)
Unit: digital,KB
mem_activewrite_average Estimate for the amount of memory actively being written to by the virtual machine.
Type: float | (gauge)
Unit: digital,KB
mem_capacity_contention_average Percentage of time VMs are waiting to access swapped, compressed or ballooned memory.
Type: int | (gauge)
Unit: digital,KB
mem_capacity_usage_average Amount of physical memory actively used.
Type: int | (gauge)
Unit: digital,KB
mem_compressed_average Amount of memory reserved by userworlds.
Type: float | (gauge)
Unit: digital,KB
mem_compressionRate_average Rate of memory compression for the virtual machine.
Type: float | (gauge)
Unit: digital,KB
mem_consumed_average Amount of host physical memory consumed by a virtual machine, host, or cluster.
Type: float | (gauge)
Unit: digital,KB
mem_decompressionRate_average Rate of memory decompression for the virtual machine.
Type: float | (gauge)
Unit: digital,KB
mem_entitlement_average Amount of host physical memory the virtual machine is entitled to, as determined by the ESX scheduler.
Type: float | (gauge)
Unit: digital,KB
mem_granted_average Amount of host physical memory or physical memory that is mapped for a virtual machine or a host.
Type: float | (gauge)
Unit: digital,KB
mem_latency_average Percentage of time the virtual machine is waiting to access swapped or compressed memory.
Type: float | (gauge)
Unit: percent,percent
mem_llSwapInRate_average Rate at which memory is being swapped from host cache into active memory.
Type: float | (gauge)
Unit: digital,KB
mem_llSwapOutRate_average Rate at which memory is being swapped from active memory to host cache.
Type: float | (gauge)
Unit: digital,KB
mem_llSwapUsed_average Space used for caching swapped pages in the host cache.
Type: float | (gauge)
Unit: digital,KB
mem_overheadMax_average Host physical memory reserved for use as the virtualization overhead for the virtual machine.
Type: float | (gauge)
Unit: digital,KB
mem_overheadTouched_average Actively touched overhead host physical memory (KB) reserved for use as the virtualization overhead for the virtual machine.
Type: float | (gauge)
Unit: digital,KB
mem_overhead_average Host physical memory consumed by the virtualization infrastructure for running the virtual machine.
Type: float | (gauge)
Unit: digital,KB
mem_shared_average Amount of guest physical memory that is shared with other virtual machines, relative to a single virtual machine or to all powered-on virtual machines on a host.
Type: float | (gauge)
Unit: digital,KB
mem_swapinRate_average Rate at which memory is swapped from disk into active memory.
Type: float | (gauge)
Unit: digital,KB
mem_swapin_average Amount of memory swapped-in from disk.
Type: float | (gauge)
Unit: digital,KB
mem_swapoutRate_average Rate at which memory is being swapped from active memory to disk.
Type: float | (gauge)
Unit: digital,KB
mem_swapout_average Amount of memory swapped-out to disk.
Type: float | (gauge)
Unit: digital,KB
mem_swapped_average Current amount of guest physical memory swapped out to the virtual machine swap file by the VMkernel. Swapped memory stays on disk until the virtual machine needs it. This statistic refers to VMkernel swapping and not to guest OS swapping.
Type: float | (gauge)
Unit: digital,KB
mem_swaptarget_average Target size for the virtual machine swap file. The VMkernel manages swapping by comparing swaptarget against swapped.
Type: float | (gauge)
Unit: digital,KB
mem_usage_average Memory usage as percent of total configured or available memory
Type: float | (gauge)
Unit: percent,percent
mem_vmmemctl_average Amount of memory allocated by the virtual machine memory control driver (vmmemctl).
Type: int | (gauge)
Unit: digital,KB
mem_vmmemctltarget_average Target value set by VMkernal for the virtual machine's memory balloon size. In conjunction with vmmemctl metric, this metric is used by VMkernel to inflate and deflate the balloon for a virtual machine.
Type: int | (gauge)
Unit: digital,KB
mem_zero_average Memory that contains 0s only. Included in shared amount. Through transparent page sharing, zero memory pages can be shared among virtual machines that run the same operating system.
Type: int | (gauge)
Unit: digital,KB
mem_zipSaved_latest Memory saved due to memory zipping.
Type: int | (gauge)
Unit: digital,KB
mem_zipped_latest Memory zipped
Type: int | (gauge)
Unit: digital,KB
net_broadcastRx_sum Number of broadcast packets received.
Type: int | (gauge)
Unit: -
net_broadcastTx_sum Number of broadcast packets transmitted.
Type: int | (gauge)
Unit: -
net_bytesRx_average Average amount of data received per second.
Type: int | (gauge)
Unit: digital,KB
net_bytesTx_average Average amount of data transmitted per second.
Type: int | (gauge)
Unit: digital,KB
net_droppedRx_sum Number of received packets dropped.
Type: int | (gauge)
Unit: -
net_droppedTx_sum Number of transmitted packets dropped.
Type: int | (gauge)
Unit: -
net_multicastRx_sum Number of multicast packets received.
Type: int | (gauge)
Unit: -
net_multicastTx_sum Number of multicast packets transmitted.
Type: int | (gauge)
Unit: -
net_packetsRx_sum Number of packets received.
Type: int | (gauge)
Unit: -
net_packetsTx_sum Number of packets transmitted.
Type: int | (gauge)
Unit: -
net_pnicBytesRx_average Average number of bytes received per second by a physical network interface card (PNIC) on an ESXi host.
Type: float | (gauge)
Unit: digital,B
net_pnicBytesTx_average Average number of bytes transmitted per second by a physical network interface card (PNIC) on an ESXi host.
Type: float | (gauge)
Unit: digital,B
net_received_average Average rate at which data was received during the interval. This represents the bandwidth of the network.
Type: float | (gauge)
Unit: digital,KB
net_throughput_usage_average The current network bandwidth usage for the host.
Type: float | (gauge)
Unit: digital,KB
net_transmitted_average Average rate at which data was transmitted during the interval. This represents the bandwidth of the network.
Type: float | (gauge)
Unit: digital,KB
net_usage_average Network utilization (combined transmit- and receive-rates).
Type: float | (gauge)
Unit: digital,KB
power_energy_sum Total energy (in joule) used since last stats reset.
Type: int | (gauge)
Unit: -
power_power_average Current power usage.
Type: int | (gauge)
Unit: -
rescpu_actav15_latest CPU active average over 15 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_actav1_latest CPU active average over 1 minute.
Type: int | (gauge)
Unit: percent,percent
rescpu_actav5_latest CPU active average over 5 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_actpk15_latest CPU active peak over 15 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_actpk1_latest CPU active peak over 1 minute.
Type: int | (gauge)
Unit: percent,percent
rescpu_actpk5_latest CPU active peak over 5 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_maxLimited15_latest Amount of CPU resources over the limit that were refused, average over 15 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_maxLimited1_latest Amount of CPU resources over the limit that were refused, average over 1 minute.
Type: int | (gauge)
Unit: percent,percent
rescpu_maxLimited5_latest Amount of CPU resources over the limit that were refused, average over 5 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_runav15_latest CPU running average over 15 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_runav1_latest CPU running average over 1 minute.
Type: int | (gauge)
Unit: percent,percent
rescpu_runav5_latest CPU running average over 5 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_runpk15_latest CPU running peak over 15 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_runpk1_latest CPU running peak over 1 minute.
Type: int | (gauge)
Unit: percent,percent
rescpu_runpk5_latest CPU running peak over 5 minutes.
Type: int | (gauge)
Unit: percent,percent
rescpu_sampleCount_latest Group CPU sample count.
Type: int | (gauge)
Unit: -
rescpu_samplePeriod_latest Group CPU sample period.
Type: int | (gauge)
Unit: time,ms
sys_heartbeat_latest Number of heartbeats issued per virtual machine.
Type: int | (gauge)
Unit: -
sys_heartbeat_sum Number of heartbeats issued per virtual machine.
Type: int | (gauge)
Unit: -
sys_osUptime_latest Total time elapsed, in seconds, since last operating system boot-up.
Type: int | (gauge)
Unit: time,s
sys_uptime_latest Total time elapsed since last system startup
Type: int | (gauge)
Unit: time,s
virtualDisk_busResets_sum Number of SCSI-bus reset commands issued.
Type: int | (gauge)
Unit: -
virtualDisk_commandsAborted_sum Number of SCSI commands aborted
Type: int | (gauge)
Unit: -
virtualDisk_largeSeeks_latest Number of seeks during the interval that were greater than 8192 LBNs apart.
Type: int | (gauge)
Unit: -
virtualDisk_mediumSeeks_latest Number of seeks during the interval that were between 64 and 8192 LBNs apart.
Type: int | (gauge)
Unit: -
virtualDisk_numberReadAveraged_average Average number of read commands issued per second to the virtual disk.
Type: int | (gauge)
Unit: -
virtualDisk_numberWriteAveraged_average Average number of write commands issued per second to the virtual disk.
Type: int | (gauge)
Unit: -
virtualDisk_readIOSize_latest Average read request size in bytes.
Type: int | (gauge)
Unit: digital,B
virtualDisk_readLatencyUS_latest Read latency in microseconds.
Type: int | (gauge)
Unit: time,μs
virtualDisk_readLoadMetric_latest Storage DRS virtual disk metric for the read workload model.
Type: int | (gauge)
Unit: -
virtualDisk_readOIO_latest Average number of outstanding read requests to the virtual disk.
Type: int | (gauge)
Unit: -
virtualDisk_read_average Average number of kilobytes read from the virtual disk each second.
Type: int | (gauge)
Unit: -
virtualDisk_smallSeeks_latest Number of seeks during the interval that were less than 64 LBNs apart.
Type: int | (gauge)
Unit: -
virtualDisk_totalReadLatency_average Average amount of time for a read operation from the virtual disk.
Type: int | (gauge)
Unit: time,ms
virtualDisk_totalWriteLatency_average Average amount of time for a write operation from the virtual disk.
Type: int | (gauge)
Unit: time,ms
virtualDisk_writeIOSize_latest Average write request size in bytes.
Type: int | (gauge)
Unit: digital,B
virtualDisk_writeLatencyUS_latest Write latency in microseconds.
Type: int | (gauge)
Unit: time,μs
virtualDisk_writeLoadMetric_latest Storage DRS virtual disk metric for the write workload model.
Type: int | (gauge)
Unit: -
virtualDisk_writeOIO_latest Average number of outstanding write requests to the virtual disk.
Type: int | (gauge)
Unit: -
virtualDisk_write_average Average number of kilobytes written to the virtual disk each second.
Type: int | (gauge)
Unit: digital,KB

对象

vsphere_cluster

The object of the cluster.

Tags & Fields Description
name
(tag)
The name of the cluster
effective_cpu Effective CPU resources (in MHz) available to run virtual machines.
Type: int | (gauge)
Unit: frequency,MHz
effective_memory Effective memory resources (in MB) available to run virtual machines.
Type: int | (gauge)
Unit: digital,MB
num_cpu_cores Number of physical CPU cores. Physical CPU cores are the processors contained by a CPU package.
Type: int | (gauge)
Unit: count
num_cpu_threads Aggregated number of CPU threads.
Type: int | (gauge)
Unit: count
num_effective_hosts Total number of effective hosts.
Type: int | (gauge)
Unit: count
num_hosts Total number of hosts.
Type: int | (gauge)
Unit: count
total_cpu Aggregated CPU resources of all hosts, in MHz.
Type: int | (gauge)
Unit: frequency,MHz
total_memory Aggregated memory resources of all hosts, in bytes.
Type: int | (gauge)
Unit: digital,B

vsphere_datastore

The object of the datastore.

Tags & Fields Description
name
(tag)
The name of the datastore
type
(tag)
Type of file system volume, such as VMFS or NFS
url
(tag)
The unique locator for the datastore
free_space Free space of this datastore, in bytes. The server periodically updates this value. It can be explicitly refreshed with the Refresh operation.
Type: int | (gauge)
Unit: digital,B
max_file_size The maximum size of a file that can reside on this file system volume.
Type: int | (gauge)
Unit: digital,B
max_memory_file_size The maximum size of a snapshot or a swap file that can reside on this file system volume.
Type: int | (gauge)
Unit: digital,B
max_virtual_disk_capacity The maximum capacity of a virtual disk which can be created on this volume.
Type: int | (gauge)
Unit: digital,B

vsphere_host

The object of the ESXi host.

Tags & Fields Description
connection_state
(tag)
The host connection state
cpu_model
(tag)
The CPU model
in_maintenance_mode
(tag)
Whether the host is in maintenance mode
model
(tag)
The system model identification
name
(tag)
The name of the ESXi host
power_state
(tag)
The power state of the host
vendor
(tag)
The hardware vendor identification
boot_time The time when the host was booted.
Type: int | (gauge)
Unit: timeStamp,nsec
memory_size The physical memory size in bytes.
Type: int | (gauge)
Unit: digital,B
num_cpu_cores Number of physical CPU cores on the host. Physical CPU cores are the processors contained by a CPU package.
Type: int | (gauge)
Unit: count
num_nics The number of network adapters.
Type: int | (gauge)
Unit: count

vsphere_vm

The object of the virtual machine.

Tags & Fields Description
connection_state
(tag)
Indicates whether or not the virtual machine is available for management
guest_full_name
(tag)
Guest operating system full name, if known
host_name
(tag)
Hostname of the guest operating system, if known
ip_address
(tag)
Primary IP address assigned to the guest operating system, if known
name
(tag)
The name of the virtual machine
power_state
(tag)
The power state of the virtual machine
template
(tag)
Flag to determine whether or not this virtual machine is a template.
boot_time The timestamp when the virtual machine was most recently powered on.
Type: int | (gauge)
Unit: timeStamp,nsec
max_cpu_usage Current upper-bound on CPU usage.
Type: int | (gauge)
Unit: frequency,MHz
max_memory_usage Current upper-bound on memory usage.
Type: int | (gauge)
Unit: digital,MB
memory_size_mb Memory size of the virtual machine, in megabytes.
Type: int | (gauge)
Unit: count
num_cpu Number of processors in the virtual machine.
Type: int | (gauge)
Unit: count
num_ethernet_cards Number of virtual network adapters.
Type: int | (gauge)
Unit: count
num_virtual_disks Number of virtual disks attached to the virtual machine.
Type: int | (gauge)
Unit: count

日志

vsphere_event

The event of the vSphere.

Tags & Fields Description
change_tag
(tag)
The user entered tag to identify the operations and their side effects
event_type_id
(tag)
The type of the event
host
(tag)
The host of the vCenter
object_name
(tag)
The name of the object
resource_type
(tag)
The resource type, such as host, vm, datastore
status
(tag)
The status of the logging
user_name
(tag)
The user who caused the event
chain_id The parent or group ID.
Type: int | (gauge)
Unit: N/A
event_key The event ID.
Type: int | (gauge)
Unit: N/A
message A formatted text message describing the event. The message may be localized.
Type: string | (unknown)
Unit: N/A

文档评价

文档内容是否对您有帮助? ×