Back to the list of connectors

VMware ESXi - Virtual Machines (SNMP)

Description

This connector provides Virtual Machine monitoring (Power consumption and State) through VMWare SNMP agent.

Connector ID: VMwareESXVMSNMP

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

hws HOSTNAME -t management -f VMwareESXVMSNMP --snmp v2c --community public

hws-config.yaml

hosts:
- host:
    hostname: <HOSTNAME> # Change with actual host name
    type: management
  selectedConnectors: [ VMwareESXVMSNMP ] # Optional, to load only this connector
  snmp:
    version: v1 # Read documentation for v2 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 (Labels)
Virtual Machine
  • hw.energy{hw.type="vm"}
  • hw.status{hw.type="vm",state="present"}
  • hw.vm.power_state{state="on|off|suspended"}
    No results.