hrMemorySize

HOST-RESOURCES-MIB · .1.3.6.1.2.1.25.2.2

Object

scalar KBytesKBytes
The amount of physical read-write main memory,
typically RAM, contained by the host.

Context

MIB
HOST-RESOURCES-MIB
OID
.1.3.6.1.2.1.25.2.2
Type
scalar
Access
readonly
Status
current
Units
KBytes
Parent
hrStorage
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar 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::hrMemorySize.0'
More examples
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::hrMemorySize'

Syntax

KBytesKBytes
Source
KBytes
Base type
Integer32

Values & Constraints

Type Constraints
range: 0..2147483647

Conformance