xupsBatCurrent
XUPS-MIB ·
.1.3.6.1.4.1.534.1.2.3
Object
scalar Amps DCInteger32
Battery Current as reported by the UPS metering. Current is positive when discharging, negative when recharging the battery.
Context
- MIB
- XUPS-MIB
- OID
.1.3.6.1.4.1.534.1.2.3- Type
- scalar
- Access
- readonly
- Status
- current
- Units
- Amps DC
- Parent
- xupsBattery
- Groups
- 1
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 'XUPS-MIB' -M '/opt/observium/mibs/eaton:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'XUPS-MIB::xupsBatCurrent.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'XUPS-MIB' -M '/opt/observium/mibs/eaton:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'XUPS-MIB::xupsBatCurrent'
Syntax
Amps DCInteger32
Values & Constraints
Object Constraints
range: -2147483648-2147483647
Conformance
Member of