vmPersistent
VM-MIB ·
.1.3.6.1.2.1.236.1.4.1.8
Object
column VirtualMachinePersistent
This value indicates whether the virtual machine has a persistent configuration, which means the virtual machine will still exist after its shutdown.
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::vmPersistent'
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::vmPersistent.<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::vmPersistent'
Syntax
- Source
- VirtualMachinePersistent
- Base type
Enumeration
Values & Constraints
Type Values
1 | unknown |
2 | persistent |
3 | transient |
Conformance
Member of