batteryCycles1to5
CCPOWER-MIB ·
.1.3.6.1.4.1.18642.1.2.2.7
Object
Number of discharge/recharge cycles from 1 to 5 minutes. Return value is XXX representing XXX cycles. Valid ranges are 000 to 255 cycles.
Context
- MIB
- CCPOWER-MIB
- OID
.1.3.6.1.4.1.18642.1.2.2.7- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- batteries
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 'CCPOWER-MIB' -M '/opt/observium/mibs/ccpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CCPOWER-MIB::batteryCycles1to5.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CCPOWER-MIB' -M '/opt/observium/mibs/ccpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CCPOWER-MIB::batteryCycles1to5'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647