vmStatusState
MX-VM-MIB ·
.0.4500.1.200.200.1.900
Object
column Enumeration
State
State of the VM.
* Stopped: The VM is stopped.
* Started: The VM is running.
* Starting: The VM is being started.
* Stopping: The VM is being stopped.
* InvalidConfig: The VM configuration is invalid.
Context
- MIB
- MX-VM-MIB
- OID
.0.4500.1.200.200.1.900- Type
- column
- Access
- readonly
- Status
- current
- Parent
- vmStatusEntry
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 'MX-VM-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-VM-MIB::vmStatusState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-VM-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-VM-MIB::vmStatusState.<vmStatusIdx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-VM-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-VM-MIB::vmStatusState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
100 | stopped |
200 | started |
300 | starting |
400 | stopping |
500 | invalidConfig |