lookupCtlRc
DISMAN-NSLOOKUP-MIB ·
.1.3.6.1.2.1.82.1.3.1.7
Object
column SNMPv2-SMIInteger32
The system-specific return code from a lookup operation. All implementations MUST return a value of 0 for this object when the remote lookup operation succeeds. A non-zero value for this objects indicates failure. It is recommended that implementations return the error codes that are generated by the lookup function used.
Context
- MIB
- DISMAN-NSLOOKUP-MIB
- OID
.1.3.6.1.2.1.82.1.3.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- lookupCtlEntry
- 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 'DISMAN-NSLOOKUP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DISMAN-NSLOOKUP-MIB::lookupCtlRc'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DISMAN-NSLOOKUP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DISMAN-NSLOOKUP-MIB::lookupCtlRc.<lookupCtlOwnerIndex>.<lookupCtlOperationName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DISMAN-NSLOOKUP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DISMAN-NSLOOKUP-MIB::lookupCtlRc'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of