NET-SNMP-EXAMPLES-MIB :: netSnmpExampleSleeper

MIB Reference — IPNetwork Monitor · Updated October 06, 2026

All MIBs › NET-SNMP-EXAMPLES-MIB › netSnmpExampleSleeper

netSnmpExampleSleeper

Module: NET-SNMP-EXAMPLES-MIB

OID (symbolic): NET-SNMP-EXAMPLES-MIB::netSnmpExampleSleeper

OID (numeric): 1.3.6.1.4.1.8072.2.1.2

Node type: OBJECT-TYPE

Type: Integer32

Access: read-write

Description: This is a simple object which is a basic integer. It's value indicates the number of seconds that the agent will take in responding to requests of this object. This is implemented in a way which will allow the agent to keep responding to other requests while access to this object is blocked. It is writable, and changing it's value will change the amount of time the agent will effectively wait for before returning a response when this object is manipulated. Note that SET requests through this object will take longer, since the delay is applied to each internal transaction phase, which could result in delays of up to 4 times the value of this object.

This example object is implemented in the agent/mibgroup/examples/delayed_instance.c file.

What is netSnmpExampleSleeper?

This writable integer, defaulting to 1, controls the number of seconds the Net-SNMP agent will deliberately take to respond to requests for this object, implemented so the agent can keep servicing other requests while this one is delayed. Developers use it to test how SNMP clients and management tools handle slow or delayed responses, noting that SET operations can take up to 4 times this value due to multiple internal transaction phases. For example, setting this to 10 would make a subsequent GET on the object take roughly ten seconds to return.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.8072.2.1.2
snmpwalk -v2c -c public <target> NET-SNMP-EXAMPLES-MIB::netSnmpExampleSleeper

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.8072.2.1.2.1
snmpget -v2c -c public <target> NET-SNMP-EXAMPLES-MIB::netSnmpExampleSleeper.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.8072.2.1.2.1 i <value>

Start monitoring Linux/Unix host running Net-SNMP agent (demonstration module, not real hardware) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NET-SNMP-EXAMPLES-MIB::netSnmpExampleSleeper OID value, configure state conditions and alerts, and monitor any Linux/Unix host running Net-SNMP agent (demonstration module, not real hardware) from a single console.

OID Breakdown

Upper-level ancestors (7 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.8072netSnmpNET-SNMP-MIB
Numeric OIDNameModule
1.3.6.1.4.1.8072.2netSnmpExamplesNET-SNMP-EXAMPLES-MIB
1.3.6.1.4.1.8072.2.1netSnmpExampleScalarsNET-SNMP-EXAMPLES-MIB
1.3.6.1.4.1.8072.2.1.2netSnmpExampleSleeperNET-SNMP-EXAMPLES-MIB