batteryGroup2CurrentsValue
SP2-MIB ·
.1.3.6.1.4.1.12148.10.15.6.5
Object
scalar SNMPv2-SMIInteger32
The measured total battery current. This is the sum of all the enabled shunt measurements in the system. Negative battery current indicates discharging of the batteries. Positive battery current indicates charging of the batteries. Note that the units measured may be i Amperes or in Deciamperes depending on global system settings
Context
- MIB
- SP2-MIB
- OID
.1.3.6.1.4.1.12148.10.15.6.5- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- batteryGroup2Currents
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 'SP2-MIB' -M '/opt/observium/mibs/eltek:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SP2-MIB::batteryGroup2CurrentsValue.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SP2-MIB' -M '/opt/observium/mibs/eltek:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SP2-MIB::batteryGroup2CurrentsValue'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647