hrStorageSize
OBS ✓
HOST-RESOURCES-MIB ·
.1.3.6.1.2.1.25.2.3.1.5
Object
column r/w
Integer32
The size of the storage represented by this entry, in units of hrStorageAllocationUnits. This object is writable to allow remote configuration of the size of the storage area in those cases where such an operation makes sense and is possible on the underlying system. For example, the amount of main memory allocated to a buffer pool might be modified or the amount of disk space allocated to virtual memory might be modified.
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in:
Memory
Storage
Explore Observium network monitoring
Context
- MIB
- HOST-RESOURCES-MIB
- OID
.1.3.6.1.2.1.25.2.3.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hrStorageEntry
- 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 'HOST-RESOURCES-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HOST-RESOURCES-MIB::hrStorageSize'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HOST-RESOURCES-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HOST-RESOURCES-MIB::hrStorageSize.<hrStorageIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HOST-RESOURCES-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HOST-RESOURCES-MIB::hrStorageSize'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647
Conformance
Member of
Compliance refinements
hrMIBCompliance
readonly
Write access is not required.