All MIBs › GE-PARALLELUPS › upsTestSpinLock_seventh
upsTestSpinLock_seventh
Module: GE-PARALLELUPS
OID (symbolic): GE-PARALLELUPS::upsTestSpinLock_seventh
OID (numeric): 1.3.6.1.4.1.818.1.1.17.7.2
Node type: OBJECT-TYPE
Type: TestAndIncr
Access: read-write
Description: A spin lock on the test subsystem. The spinlock is used as follows. Before starting a test, a manager-station should make sure that a test is not in progress as follows: try-again: get (upsTestSpinLock) while (upsTestResultsSummary == inProgress) { /* loop while a test is running for another manager */ short delay get (upsTestSpinLock) } lock-value = upsTestSpinLock /* no test in progress, start the test */ set (upsTestSpinLock = lock-value, upsTestId = requested-test) if (error-index == 1) { /* (upsTestSpinLock failed) */ /* if problem is not access control, then some other manager slipped in ahead of us */ goto try-again } if (error-index == 2) { /* (upsTestId) */ /* cannot perform the test */ give up } /* test started ok */ /* wait for test completion by polling upsTestResultsSummary */ get (upsTestSpinLock, upsTestResultsSummary, upsTestResultsDetail) while (upsTestResultsSummary == inProgress) { short delay get (upsTestSpinLock, upsTestResultsSummary, upsTestResultsDetail) } /* when test completes, retrieve any additional test results */ /* if upsTestSpinLock == lock-value + 1, then these are our test */ /* results (as opposed to another manager's */ The initial value of upsTestSpinLock at agent initialization shall be 1.(*)
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.818.1.1.17.7.2 snmpwalk -v2c -c public <target> GE-PARALLELUPS::upsTestSpinLock_seventh
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.818.1.1.17.7.2.1 snmpget -v2c -c public <target> GE-PARALLELUPS::upsTestSpinLock_seventh.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.818.1.1.17.7.2.1 s <value>
Start monitoring GE parallel-redundant UPS installation with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the GE-PARALLELUPS::upsTestSpinLock_seventh OID value, configure state conditions and alerts, and monitor any GE parallel-redundant UPS installation 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.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.818 | imv | GE-PARALLELUPS |
| 1.3.6.1.4.1.818.1 | geHardware | GE-PARALLELUPS |
| 1.3.6.1.4.1.818.1.1 | geUPS | GE-PARALLELUPS |
| 1.3.6.1.4.1.818.1.1.17 | geSeventhUPS | GE-PARALLELUPS |
| 1.3.6.1.4.1.818.1.1.17.7 | upsTest_seventh | GE-PARALLELUPS |
| 1.3.6.1.4.1.818.1.1.17.7.2 | upsTestSpinLock_seventh | GE-PARALLELUPS |