vmUUID
VM-MIB ·
.1.3.6.1.2.1.236.1.4.1.3
Object
column UUID-TC-MIBUUIDorZero
The virtual machine's 128-bit Universally Unique Identifier (UUID) or the zero-length string when a UUID is not available. If set, the UUID MUST uniquely identify a virtual machine from all other virtual machines in an administrative domain. A zero-length octet string is returned if no UUID information is known.
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::vmUUID'
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::vmUUID.<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::vmUUID'
Syntax
- Source
- UUID-TC-MIBUUIDorZero
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0
range: 16
Conformance
Member of