vmIndex

VM-MIB · .1.3.6.1.2.1.236.1.4.1.1

Object

A unique value, greater than zero, identifying the
virtual machine.  The value assigned to a given virtual
machine may not persist across re-initialization of the
hypervisor.  A command generator MUST use the vmUUID to
identify a given virtual machine of interest.

Context

MIB
VM-MIB
OID
.1.3.6.1.2.1.236.1.4.1.1
Type
column
Access
noaccess
Status
current
Parent
vmEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'VM-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VM-MIB::vmIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'VM-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VM-MIB::vmIndex.<vmIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'VM-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'VM-MIB::vmIndex'

Syntax

Source
VirtualMachineIndex
Base type
Integer32

Values & Constraints

Type Constraints
range: 1..2147483647