memSwapError
UCD-SNMP-MIB ·
.1.3.6.1.4.1.2021.4.100
Object
scalar UCDErrorFlag
Indicates whether the amount of available swap space (as reported by 'memAvailSwap(4)'), is less than the desired minimum (specified by 'memMinimumSwap(12)').
Context
- MIB
- UCD-SNMP-MIB
- OID
.1.3.6.1.4.1.2021.4.100- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- memory
Net-SNMP examples
How SNMP and these commands workScalars 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::memSwapError.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::memSwapError'
Syntax
- Source
- UCDErrorFlag
- Base type
Enumeration
Values & Constraints
Type Values
0 | noError |
1 | error |