upsSmartTestRuntimeCalibration
DGPUPS-MIB ·
.1.3.6.1.4.1.17420.1.1.2.7.2.6
Object
scalar mandatory
r/w
Enumeration
Setting this variable to performCalibration(2) causes
the UPS to discharge to calibrate the UPS.
The test will only start if the battery capacity is 100 percent.
The test runs until capacity is less than 25 percent.
Setting this variable to cancelCurrentCalibration(3)
after setting performCalibration(2) will cancel the
current discharge.
Setting this variable to noPerformCalibration(1)
will have no effect.
The value noPerformCalibration(1) will always be returned
when the variable is read.
The result of the calibration will be saved in
upsSmartTestCalibrationResult.
Context
- MIB
- DGPUPS-MIB
- OID
.1.3.6.1.4.1.17420.1.1.2.7.2.6- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- upsSmartTest
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DGPUPS-MIB' -M '/opt/observium/mibs/digipower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGPUPS-MIB::upsSmartTestRuntimeCalibration.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGPUPS-MIB' -M '/opt/observium/mibs/digipower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGPUPS-MIB::upsSmartTestRuntimeCalibration'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noPerformCalibration |
2 | performCalibration |
3 | cancelCurrentCalibration |