memAvailSwapTXT

UCD-SNMP-MIB · .1.3.6.1.4.1.2021.4.8

Object

scalar deprecated kBSNMPv2-SMIInteger32
The amount of swap space or virtual memory currently
being used by text pages on this host.
          
This object will not be implemented on hosts where the
underlying operating system does not distinguish text
pages from other uses of swap space or virtual memory.
          
Note that (despite the name), this value reports the
amount used, rather than the amount free or available
for use.  For clarity, this object is being deprecated
in favour of 'memUsedSwapTXT(16).

Context

MIB
UCD-SNMP-MIB
OID
.1.3.6.1.4.1.2021.4.8
Type
scalar
Access
readonly
Status
deprecated
Units
kB
Parent
memory

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

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'UCD-SNMP-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'udp:<hostname>:161' 'UCD-SNMP-MIB::memAvailSwapTXT.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'UCD-SNMP-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'UCD-SNMP-MIB::memAvailSwapTXT'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647