upsBatteryCabinetNumberOfStrings
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.1.2.5.1.14
Object
The number of battery strings in the battery cabinet. The value can be 0, meaning that no additional information on the battery string is available. 1 and higher means data in the table is provided.
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.1.2.5.1.14- Type
- column
- Access
- readonly
- Status
- optional
- Parent
- upsBatteryCabinetEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::upsBatteryCabinetNumberOfStrings'
More examples
Read one indexed 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::upsBatteryCabinetNumberOfStrings.<upsBatteryCabinetIndex>'
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::upsBatteryCabinetNumberOfStrings'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647