battIsValid
BRCM-BATTERY-MGMT-MIB ·
.1.3.6.1.4.1.4413.2.2.2.1.10.1.1.1.6
Object
column SNMPv2-TCTruthValue
Indicates whether this battery is considered valid by the battery charger. A value of false(2) here indicates some kind of failure with this battery.
Context
- MIB
- BRCM-BATTERY-MGMT-MIB
- OID
.1.3.6.1.4.1.4413.2.2.2.1.10.1.1.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- batteryEntry
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 'BRCM-BATTERY-MGMT-MIB' -M '/opt/observium/mibs/broadcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BRCM-BATTERY-MGMT-MIB::battIsValid'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BRCM-BATTERY-MGMT-MIB' -M '/opt/observium/mibs/broadcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BRCM-BATTERY-MGMT-MIB::battIsValid.<battIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BRCM-BATTERY-MGMT-MIB' -M '/opt/observium/mibs/broadcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BRCM-BATTERY-MGMT-MIB::battIsValid'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |