All MIBs › SNMP-TARGET-MIB › snmpTargetSpinLock
snmpTargetSpinLock
Module: SNMP-TARGET-MIB
OID (symbolic): SNMP-TARGET-MIB::snmpTargetSpinLock
OID (numeric): 1.3.6.1.6.3.12.1.1
Node type: OBJECT-TYPE
Type: TestAndIncr
Access: read-write
Description: This object is used to facilitate modification of table entries in the SNMP-TARGET-MIB module by multiple managers. In particular, it is useful when modifying the value of the snmpTargetAddrTagList object.
The procedure for modifying the snmpTargetAddrTagList object is as follows:
1. Retrieve the value of snmpTargetSpinLock and of snmpTargetAddrTagList.
2. Generate a new value for snmpTargetAddrTagList.
3. Set the value of snmpTargetSpinLock to the retrieved value, and the value of snmpTargetAddrTagList to the new value. If the set fails for the snmpTargetSpinLock object, go back to step 1.
What is snmpTargetSpinLock?
This synchronization object prevents race conditions when multiple SNMP managers modify notification targets simultaneously. It uses a test-and-increment mechanism. An operator's automation scripts would check and update this lock before changing critical notification settings to avoid conflicts.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.6.3.12.1.1 snmpwalk -v2c -c public <target> SNMP-TARGET-MIB::snmpTargetSpinLock
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.6.3.12.1.1.1 snmpget -v2c -c public <target> SNMP-TARGET-MIB::snmpTargetSpinLock.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.6.3.12.1.1.1 s <value>
Start monitoring vendor-neutral, standards-based MIB, any SNMPv3-capable network device or management station (notification target address configuration) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SNMP-TARGET-MIB::snmpTargetSpinLock OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MIB, any SNMPv3-capable network device or management station (notification target address configuration) 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.6 | snmpV2 | DASAN-DHCP-MIB |
| 1.3.6.1.6.3 | snmpModules | RAPID-CITY |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.6.3.12 | snmpTargetMIB | SNMP-TARGET-MIB |
| 1.3.6.1.6.3.12.1 | snmpTargetObjects | SNMP-TARGET-MIB |
| 1.3.6.1.6.3.12.1.1 | snmpTargetSpinLock | SNMP-TARGET-MIB |