vmNumber
VM-MIB ·
.1.3.6.1.2.1.236.1.2
Object
scalar Integer32
The number of virtual machines (regardless of their current state) present on this hypervisor.
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar 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::vmNumber.0'
More examples
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::vmNumber'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647
Conformance
Member of