upsRunTimeCalibration
UPS2-MIB ·
.1.3.6.1.4.1.52.4.1.1.10.3.1.1.5
Object
column mandatory
r/w
Enumeration
This object may be written to initiate or terminate the test used to calibrate the returned run time value. This test will only run if battery capacity is 100%. Results of this test can be retrieved by upsEstimatedRunTimeRemaining. Valid values for writing are 1 (initiate test) and 2 (terminate test). In addition, this object may be read to determine whether the test is currently running. Valid values for reading are 3 (test is in progress) and 4 (test is not in progress).
Context
- MIB
- UPS2-MIB
- OID
.1.3.6.1.4.1.52.4.1.1.10.3.1.1.5- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- upsBatteryEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'UPS2-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'UPS2-MIB::upsRunTimeCalibration'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'UPS2-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'UPS2-MIB::upsRunTimeCalibration.<upsIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'UPS2-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'UPS2-MIB::upsRunTimeCalibration'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | performTest |
2 | abortTest |
3 | testInProgress |
4 | testNotInProgress |