vmStorageAllocatedSize
VM-MIB ·
.1.3.6.1.2.1.236.1.7.1.12
Object
column Integer32
The storage size allocated to the virtual storage from a physical storage in the unit designated by vmStorageSizeUnit. When the virtual storage is block device or raw file, this value and vmStorageDefinedSize are supposed to equal. This value MUST NOT be different from vmStorageDefinedSize when vmStorageSourceType is 'block' or 'raw'. If this information is not available, this value MUST be -1.
Context
- MIB
- VM-MIB
- OID
.1.3.6.1.2.1.236.1.7.1.12- Type
- column
- Access
- readonly
- Status
- current
- Parent
- vmStorageEntry
- Groups
- 1
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::vmStorageAllocatedSize'
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::vmStorageAllocatedSize.<vmStorageVmIndex>.<vmStorageIndex>'
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::vmStorageAllocatedSize'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-2147483647
Conformance
Member of