batteryType
BATTERY-MIB ·
.1.3.6.1.2.1.233.1.1.1.3
Object
column Enumeration
This object indicates the type of battery.
It distinguishes between primary (not rechargeable)
batteries, rechargeable (secondary) batteries, and
capacitors. Capacitors are not really batteries but
are often used in the same way as a battery.
The value other(2) can be used if the battery type is known
but is none of the ones above. Value unknown(1) is to be used
if the type of battery cannot be determined.
Context
- MIB
- BATTERY-MIB
- OID
.1.3.6.1.2.1.233.1.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- batteryEntry
- Groups
- 1
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 'BATTERY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BATTERY-MIB::batteryType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BATTERY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BATTERY-MIB::batteryType.<entPhysicalIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BATTERY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BATTERY-MIB::batteryType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unknown |
2 | other |
3 | primary |
4 | rechargeable |
5 | capacitor |
Conformance
Member of