vmOperState
VM-MIB ·
.1.3.6.1.2.1.236.1.4.1.6
Object
column VirtualMachineOperState
The operational state of the virtual machine.
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::vmOperState'
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::vmOperState.<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::vmOperState'
Syntax
- Source
- VirtualMachineOperState
- Base type
Enumeration
Values & Constraints
Type Values
1 | unknown |
2 | other |
3 | preparing |
4 | running |
5 | suspending |
6 | suspended |
7 | resuming |
8 | paused |
9 | migrating |
10 | shuttingdown |
11 | shutdown |
12 | crashed |
Conformance
Member of