upsAdvBatteryTotalCapacity
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.1.2.2.25
Object
The actual available battery capacity of the system expressed in ampere hours (Ah). The value is updated continuously, for example when battery breakers are opened or closed, or when battery strings/battery blocks are added or removed.
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.1.2.2.25- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- upsAdvBattery
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 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::upsAdvBatteryTotalCapacity.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PowerNet-MIB::upsAdvBatteryTotalCapacity'
Syntax
- Source
- RFC1155-SMIGauge
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295