upsAdvConfigBatterySelection

PowerNet-MIB · .1.3.6.1.4.1.318.1.1.1.5.2.49

Object

scalar mandatory r/w Enumeration
Configure the installed battery type; VRLA is a Valve Regulated
Lead Acid type battery, Vented Cell is a wet cell type (car) battery, NiCd is a
Nickel-Cadmium type battery, and Li-Ion is Lithium Ion type battery.
Please use the OID defined under upsIdent: upsAdvEnergyStorageType

Context

MIB
PowerNet-MIB
OID
.1.3.6.1.4.1.318.1.1.1.5.2.49
Type
scalar
Access
readwrite
Status
mandatory
Parent
upsAdvConfig

Scalars 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::upsAdvConfigBatterySelection.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::upsAdvConfigBatterySelection'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1vrla
2ventedcell
3nicd
4li-ion