SNMP-TARGET-MIB :: snmpTargetSpinLock

MIB Reference — IPNetwork Monitor

All MIBsSNMP-TARGET-MIBsnmpTargetSpinLock

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>

OID Breakdown

Numeric OIDNameModule
1isoLANART-AGENT
1.3orgBIANCA-BRICK-PPP-MIB
1.3.6dodBIANCA-BRICK-PPP-MIB
1.3.6.1internetBIANCA-BRICK-PPP-MIB
1.3.6.1.6snmpV2DASAN-DHCP-MIB
1.3.6.1.6.3snmpModulesRAPID-CITY
1.3.6.1.6.3.12snmpTargetMIBSNMP-TARGET-MIB
1.3.6.1.6.3.12.1snmpTargetObjectsSNMP-TARGET-MIB
1.3.6.1.6.3.12.1.1snmpTargetSpinLockSNMP-TARGET-MIB