vmStorageVmIndex
VM-MIB ·
.1.3.6.1.2.1.236.1.7.1.1
Object
column VirtualMachineIndexOrZero
This value identifies the virtual machine (guest) this storage device has been allocated to. The value zero indicates that the storage device is currently not allocated to any virtual machines.
Context
- MIB
- VM-MIB
- OID
.1.3.6.1.2.1.236.1.7.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- vmStorageEntry
Net-SNMP examples
How SNMP and these commands workWalk 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::vmStorageVmIndex'
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::vmStorageVmIndex.<vmStorageVmIndex>.<vmStorageIndex>'
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::vmStorageVmIndex'
Syntax
- Source
- VirtualMachineIndexOrZero
- Base type
Integer32
Values & Constraints
Type Constraints
range: 0..2147483647