All MIBs › HOST-RESOURCES-V2-MIB › hrMemorySize
hrMemorySize
Module: HOST-RESOURCES-V2-MIB
OID (symbolic): HOST-RESOURCES-V2-MIB::hrMemorySize
OID (numeric): 1.3.6.1.2.1.25.2.2
Node type: OBJECT-TYPE
Type: KBytes
Access: read-only
Description: The amount of physical main memory contained by the host.
What is hrMemorySize?
This read-only value, in KBytes, gives the amount of physical main memory (RAM) installed in the host. Admins read it once to know the total physical memory available, then compare it against hrStorage entries of type hrStorageRam to see how much is actually in use.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.25.2.2 snmpwalk -v2c -c public <target> HOST-RESOURCES-V2-MIB::hrMemorySize
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.25.2.2.1 snmpget -v2c -c public <target> HOST-RESOURCES-V2-MIB::hrMemorySize.1
Start monitoring Vendor-neutral IETF standard (Host Resources extension) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HOST-RESOURCES-V2-MIB::hrMemorySize OID value, configure state conditions and alerts, and monitor any Vendor-neutral IETF standard (Host Resources extension) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.25 | host | HOST-RESOURCES-MIB |
| 1.3.6.1.2.1.25.2 | hrStorage | HOST-RESOURCES-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.25.2.2 | hrMemorySize | HOST-RESOURCES-V2-MIB |