Skip to main content

VMware ESXi - Virtual Machines (SNMP)

Description

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

hardware linux vmware

Enterprise Connector

This connector requires the Enterprise edition of MetricsHub.

Target

Typical platform: VMware

Operating systems: Out-Of-Band, Linux

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

Prerequisites

Leverages: SNMP

Technology and protocols: SNMP

Examples

CLI

metricshub HOSTNAME -t oob -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: oob
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 GetNext on the OID 1.3.6.1.4.1.6876.2.1.1 must return a non-empty value

Metrics

TypeCollected MetricsSpecific Attributes
vmhw.power_state{hw.type="vm", state="off|on|suspended"}
hw.status{hw.type="vm", state="present"}
hw.vm.power_ratio
hw.parent.type
id
name