All MIBs › DISMAN-NSLOOKUP-MIB › lookupCtlRc
lookupCtlRc
Module: DISMAN-NSLOOKUP-MIB
OID (symbolic): DISMAN-NSLOOKUP-MIB::lookupCtlRc
OID (numeric): 1.3.6.1.2.1.82.1.3.1.7
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: 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.
What is lookupCtlRc?
This holds the return code from the underlying lookup operation, where 0 always means success and any non-zero value signals failure. Admins check it after lookupCtlOperStatus shows completed(3) to determine whether the lookup actually succeeded, and implementations are encouraged to preserve the native error code from the OS lookup function for troubleshooting. A non-zero value here, such as an NXDOMAIN-style error code, would tell an admin the requested hostname simply doesn't resolve.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.82.1.3.1.7 snmpwalk -v2c -c public <target> DISMAN-NSLOOKUP-MIB::lookupCtlRc
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.82.1.3.1.7.1 snmpget -v2c -c public <target> DISMAN-NSLOOKUP-MIB::lookupCtlRc.1
Start monitoring Router/network device with DISMAN agent support (vendor-neutral, remote DNS lookup) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DISMAN-NSLOOKUP-MIB::lookupCtlRc OID value, configure state conditions and alerts, and monitor any Router/network device with DISMAN agent support (vendor-neutral, remote DNS lookup) from a single console.
OID Breakdown
Upper-level ancestors (6 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 | APERTUS-NPG-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.82 | lookupMIB | DISMAN-NSLOOKUP-MIB |
| 1.3.6.1.2.1.82.1 | lookupObjects | DISMAN-NSLOOKUP-MIB |
| 1.3.6.1.2.1.82.1.3 | lookupCtlTable | DISMAN-NSLOOKUP-MIB |
| 1.3.6.1.2.1.82.1.3.1 | lookupCtlEntry | DISMAN-NSLOOKUP-MIB |
| 1.3.6.1.2.1.82.1.3.1.7 | lookupCtlRc | DISMAN-NSLOOKUP-MIB |