OID repository
OID Repository
http://oid-info.com
Display OID:
 
Action itemiso(1) Action itemidentified-organization(3) Action itemdod(6) Action iteminternet(1) Action itemprivate(4) Action itementerprise(1) Action item818 Action itemgeHardware(1) Action itemgeUPS(1) Action itemgeFifthUPS(15) Action itemupsTest-fifth(7)  

Navigating the OID tree

upsTestSpinLock-fifth(2)
 
Separation line
 
OID description

   
OID: (ASN.1 notation)
(dot notation)
(OID-IRI notation)

Description:

upsTestSpinLock-fifth OBJECT-TYPE
SYNTAX TestAndIncr
MAX-ACCESS read-write
STATUS current
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.(*)"


 
Short URLs for this page:

Disclaimer: The owner of this site does not warrant or assume any liability or responsibility for the accuracy, completeness, or usefulness of any information available on this page (for more information, please read the complete disclaimer).
All rights reserved, Orange © 2024
Parent OID: upsTest-fifth(7) First sibling OID: upsTestId-fifth(1) Previous sibling OID: upsTestId-fifth(1) Next sibling OID: upsTestResultsSummary-fifth(3) Last sibling OID: upsWellKnownTests-fifth(7)
Separation line
OID helper Webmaster Bullet 24 Oct 2018 Bullet Page top