dcBatteryNumBatteries
UPSMAN-MCU-MIB ·
.1.3.6.1.4.1.1356.1.5.2
Object
scalar NonNegativeInteger
The number of batteries. This variable indicates the number of rows in the battery table.
Context
- MIB
- UPSMAN-MCU-MIB
- OID
.1.3.6.1.4.1.1356.1.5.2- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- dcBattery
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 'UPSMAN-MCU-MIB' -M '/opt/observium/mibs/benning:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'UPSMAN-MCU-MIB::dcBatteryNumBatteries.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'UPSMAN-MCU-MIB' -M '/opt/observium/mibs/benning:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'UPSMAN-MCU-MIB::dcBatteryNumBatteries'
Syntax
- Source
- NonNegativeInteger
- Base type
Integer32- Display format
d
Type Description
This data type is a non-negative value.
Values & Constraints
Type Constraints
range: 0..2147483647