vmMaxCpuNumber
VM-MIB ·
.1.3.6.1.2.1.236.1.4.1.11
Object
column Integer32
The maximum number of virtual CPUs that are assigned to the virtual machine when it is in a power-on state. The value -1 indicates that there is no limit.
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::vmMaxCpuNumber'
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::vmMaxCpuNumber.<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::vmMaxCpuNumber'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-2147483647
Conformance
Member of