All MIBs › WWW-MIB › wwwDocCtrlLastNLock
wwwDocCtrlLastNLock
Module: WWW-MIB
OID (symbolic): WWW-MIB::wwwDocCtrlLastNLock
OID (numeric): 1.3.6.1.2.1.65.1.3.1.1.2
Node type: OBJECT-TYPE
Type: TimeTicks
Access: read-write
Description: This object allows a manager to lock the wwwDocLastNTable in order to retrieve the wwwDocLastNTable in a consistent state. The agent is expected to take a snapshot of the wwwDocLastNTable when it is locked and to continue updating the real wwwDocLastNTable table so that recent information is available as soon as the wwwDocLastNTable is unlocked again.
Setting this object to a value greater than 0 will lock the table. The timer ticks backwards until it reaches 0. The table unlocks automatically once the timer reaches 0 and the timer stops ticking.
A manager can increase the timer to request more time to read the table. However, any attempt to decrease the timer will fail with an inconsistentValue error. This rule ensures that multiple managers can simultaneously lock and retrieve the wwwDocLastNTable. Note that managers must cooperate in using wwwDocCtrlLastNLock. In particular, a manager MUST not keep the wwwDocLastNTable locked when it is not necessary to finish a retrieval operation.
What is wwwDocCtrlLastNLock?
Setting this to a value greater than zero locks wwwDocLastNTable so a manager can read a consistent snapshot while the agent keeps updating the live table underneath; the timer then ticks down to zero and auto-unlocks, and any attempt to decrease it fails with inconsistentValue so multiple managers can safely share the lock. Admins set this briefly before pulling a bulk read of recent document accesses, and should avoid holding the lock longer than the retrieval actually takes.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.65.1.3.1.1.2 snmpwalk -v2c -c public <target> WWW-MIB::wwwDocCtrlLastNLock
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.65.1.3.1.1.2.1 snmpget -v2c -c public <target> WWW-MIB::wwwDocCtrlLastNLock.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.65.1.3.1.1.2.1 i <value>
Start monitoring vendor-neutral, standards-based MIB, any server or network appliance running HTTP/FTP services (service oper-status/start-time status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the WWW-MIB::wwwDocCtrlLastNLock OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MIB, any server or network appliance running HTTP/FTP services (service oper-status/start-time status) 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.65 | wwwMIB | WWW-MIB |
| 1.3.6.1.2.1.65.1 | wwwMIBObjects | WWW-MIB |
| 1.3.6.1.2.1.65.1.3 | wwwDocumentStatistics | WWW-MIB |
| 1.3.6.1.2.1.65.1.3.1 | wwwDocCtrlTable | WWW-MIB |
| 1.3.6.1.2.1.65.1.3.1.1 | wwwDocCtrlEntry | WWW-MIB |
| 1.3.6.1.2.1.65.1.3.1.1.2 | wwwDocCtrlLastNLock | WWW-MIB |