All MIBs › NET-SNMP-AGENT-MIB › nsDebugEnabled
nsDebugEnabled
Module: NET-SNMP-AGENT-MIB
OID (symbolic): NET-SNMP-AGENT-MIB::nsDebugEnabled
OID (numeric): 1.3.6.1.4.1.8072.1.7.1.1
Node type: OBJECT-TYPE
Type: TruthValue
Access: read-write
Description: Whether the agent is configured to generate debugging output
What is nsDebugEnabled?
This object turns generation of debugging output on or off for the agent, defaulting to false. Admins enable this temporarily when troubleshooting agent behavior, since it's a prerequisite for any of the other debug-related objects (like nsDebugOutputAll or the debug token table) to actually produce output. Setting this to true(1) turns on debugging output generation, which an admin would then narrow down using the debug token table or nsDebugOutputAll.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.8072.1.7.1.1 snmpwalk -v2c -c public <target> NET-SNMP-AGENT-MIB::nsDebugEnabled
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.8072.1.7.1.1.1 snmpget -v2c -c public <target> NET-SNMP-AGENT-MIB::nsDebugEnabled.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.8072.1.7.1.1.1 s <value>
Start monitoring Linux/Unix host or embedded device running the Net-SNMP agent (snmpd) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NET-SNMP-AGENT-MIB::nsDebugEnabled OID value, configure state conditions and alerts, and monitor any Linux/Unix host or embedded device running the Net-SNMP agent (snmpd) from a single console.
OID Breakdown
Upper-level ancestors (8 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.8072.1.7 | nsConfiguration | NET-SNMP-AGENT-MIB |
| 1.3.6.1.4.1.8072.1.7.1 | nsConfigDebug | NET-SNMP-AGENT-MIB |
| 1.3.6.1.4.1.8072.1.7.1.1 | nsDebugEnabled | NET-SNMP-AGENT-MIB |