Back to the list of connectors[1]

VMware ESXi - Virtual Machines (SNMP) Enterprise

Description

This connector enables Virtual Machine for ESX servers v4 and higher (power consumption and state) through VMWare SNMP agent.

hardware[2] linux[3] vmware[4]

Target

Typical platform: VMware ESXi

Operating systems: Out-Of-Band, Linux

Prerequisites

Leverages: SNMP

Technology and protocols: SNMP

This connector is not available for the local host (it is applicable to remote hosts only).

Examples

CLI

metricshub HOSTNAME -t management -c +VMwareESXVMSNMP --snmp v2c --community public

metricshub.yaml

resourceGroups:
  <RESOURCE_GROUP>:
    resources:
      <HOSTNAME-ID>:
        attributes:
          host.name: <HOSTNAME> # Change with actual host name
          host.type: management
        connectors: [ +VMwareESXVMSNMP ] # Optional, to load only this connector
        protocols:
          snmp:
            version: v2c # Read documentation for v1, v2c and v3
            community: public # or probably something more secure

Connector Activation Criteria

The VMware ESXi - Virtual Machines (SNMP) connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:

  • An SNMP Get-Next on the OID 1.3.6.1.4.1.6876.2.1.1 must return a value in the same subtree

Metrics

Type Collected Metrics Specific Attributes
vm
  • hw.power_state{hw.type="vm", state="off|on|suspended"}
  • hw.vm.power_ratio
  • hw.parent.type
  • id
  • name
No results.