All MIBs › UPS-MIB › upsTestId
upsTestId
Module: UPS-MIB
OID (symbolic): UPS-MIB::upsTestId
OID (numeric): 1.3.6.1.2.1.33.1.7.1
Node type: OBJECT-TYPE
Type: OBJECT IDENTIFIER
Access: read-write
Description:
The test is named by an OBJECT IDENTIFIER which allows a standard mechanism for the initiation of tests, including the well known tests identified in this document as well as those introduced by a particular implementation, i.e., as documented in the private enterprise MIB definition for the device.
Setting this variable initiates the named test. Sets to this variable require the presence of upsTestSpinLock in the same SNMP message.
The set request will be rejected with an appropriate error message if the requested test cannot be performed, including attempts to start a test when another test is already in progress. The status of the current or last test is maintained in upsTestResultsSummary. Tests in progress may be aborted by setting the upsTestId variable to
upsTestAbortTestInProgress.
Read operations return the value of the name of the test in progress if a test is in progress or the name of the last test performed if no test is in progress, unless no test has been run, in which case the well known value upsTestNoTestsInitiated is returned.
What is upsTestId?
This object specifies which test to run on an Uninterruptible Power Supply unit by storing a standard or vendor-specific OBJECT IDENTIFIER value. Setting this object initiates the named diagnostic test; reading it shows which test is currently configured or running. An operator uses this to trigger hardware validation tests like battery capacity checks or load transfer tests and confirm the UPS remains operational.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.33.1.7.1 snmpwalk -v2c -c public <target> UPS-MIB::upsTestId
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.33.1.7.1.1 snmpget -v2c -c public <target> UPS-MIB::upsTestId.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.33.1.7.1.1 s <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> upsTestId.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.2 | mgmt | BKTEL-HFC862-BASE-MIB |
| 1.3.6.1.2.1 | mib_2 | CHECKPOINT-MIB-2 |
| 1.3.6.1.2.1.33 | upsMIB | UPS-MIB |
| 1.3.6.1.2.1.33.1 | upsObjects | UPS-MIB |
| 1.3.6.1.2.1.33.1.7 | upsTest | UPS-MIB |
| 1.3.6.1.2.1.33.1.7.1 | upsTestId | UPS-MIB |