upsTestBatteryTestElapsedTime
USHA-P-MIB ·
.1.3.6.1.4.1.2468.1.2.1.1.6.5
Object
The amount of time, in TimeTicks, since the test in progress was initiated, or, if no test is in progress, the previous test took to complete. If the value of upsTestResultsSummary is noTestsInitiated(6), upsTestElapsedTime has the value 00:00:00.00.
Context
- MIB
- USHA-P-MIB
- OID
.1.3.6.1.4.1.2468.1.2.1.1.6.5- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- upsTestGroup
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 'USHA-P-MIB' -M '/opt/observium/mibs/ingrasys:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'USHA-P-MIB::upsTestBatteryTestElapsedTime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'USHA-P-MIB' -M '/opt/observium/mibs/ingrasys:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'USHA-P-MIB::upsTestBatteryTestElapsedTime'
Syntax
- Source
- RFC1213-MIBDisplayString
- Base type
OctetString
Values & Constraints
Object Constraints
range: 11-11