All MIBs › NET-SNMP-EXTEND-MIB › nsExtendResult
nsExtendResult
Module: NET-SNMP-EXTEND-MIB
OID (symbolic): NET-SNMP-EXTEND-MIB::nsExtendResult
OID (numeric): 1.3.6.1.4.1.8072.1.3.2.3.1.4
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: The return value of the command.
What is nsExtendResult?
Reports the exit/return code of the extend command's last execution. Admins use this to programmatically detect success or failure of a custom script, the same way a shell script's exit status is checked. A nonzero value, such as 1, indicates the underlying command failed, prompting the admin to check nsExtendOutputFull for details.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.8072.1.3.2.3.1.4 snmpwalk -v2c -c public <target> NET-SNMP-EXTEND-MIB::nsExtendResult
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.8072.1.3.2.3.1.4.1 snmpget -v2c -c public <target> NET-SNMP-EXTEND-MIB::nsExtendResult.1
Start monitoring Linux/Unix server or appliance running Net-SNMP (scripted extension framework) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NET-SNMP-EXTEND-MIB::nsExtendResult OID value, configure state conditions and alerts, and monitor any Linux/Unix server or appliance running Net-SNMP (scripted extension framework) from a single console.
OID Breakdown
Upper-level ancestors (9 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.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.8072 | netSnmp | NET-SNMP-MIB |
| 1.3.6.1.4.1.8072.1 | netSnmpObjects | NET-SNMP-MIB |
| 1.3.6.1.4.1.8072.1.3 | nsExtensions | NET-SNMP-AGENT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.8072.1.3.2 | nsExtendObjects | NET-SNMP-EXTEND-MIB |
| 1.3.6.1.4.1.8072.1.3.2.3 | nsExtendOutput1Table | NET-SNMP-EXTEND-MIB |
| 1.3.6.1.4.1.8072.1.3.2.3.1 | nsExtendOutput1Entry | NET-SNMP-EXTEND-MIB |
| 1.3.6.1.4.1.8072.1.3.2.3.1.4 | nsExtendResult | NET-SNMP-EXTEND-MIB |