upsAdvBatteryWiringConfiguration
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.1.2.2.28
Object
scalar mandatory
Enumeration
The value indicates the wiring configuration, whether the battery is 2-wire or 3-wire. If it's a 3-wire battery system, the system can have 2 voltages and currents per cabinet. 1 = 2-wire (a non-split battery) 2 = 3-wire (a split battery)
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.1.2.2.28- 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::upsAdvBatteryWiringConfiguration.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::upsAdvBatteryWiringConfiguration'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | twoWire |
2 | threeWire |